Format y axis as percent
I have an existing plot that was created with pandas like this: df[‘myvar’].plot(kind=’bar’) The y axis is format as float and I want … Read more
I have an existing plot that was created with pandas like this: df[‘myvar’].plot(kind=’bar’) The y axis is format as float and I want … Read more
Every time I make a plot using ggplot, I spend a little while trying different values for hjust and vjust in a line … Read more
I want to plot data, then create a new figure and plot data2, and finally come back to the original plot and plot … Read more
The following code plots to two PostScript (.ps) files, but the second one contains both lines. import matplotlib import matplotlib.pyplot as plt import … Read more
This question already has answers here: Which is the recommended way to plot: matplotlib or pylab? (2 answers) Closed last year. What is … Read more
I have an array of timestamps in the format (HH:MM:SS.mmmmmm) and another array of floating point numbers, each corresponding to a value in … Read more
I have been playing with Numpy and matplotlib in the last few days. I am having problems trying to make matplotlib plot a … Read more
As the title says: How can I plot a legend outside the plotting area when using base graphics? I thought about fiddling around … Read more
The data I’m playing with comes from the internet source listed below nba <- read.csv(“http://datasets.flowingdata.com/ppg2008.csv”, sep=”,”) What I want to do, is create … Read more
So talented people have figured out how to make xkcd style graphs in Mathematica, in LaTeX, in Python and in R already. How … Read more