Alternative to flot where the axes labels are within the canvas - flot

I have been using the fantastic canvas plotting library flot. The selection of graph types is excellent but I want to be able to export the whole graph to an image, including axes numbers, ticks and labels and a the graph title.
Unfortunately only the graph itself seems to be drawn in the canvas, the axes numbers and ticks are in divs. Therefore the canvas toDataURL method does not capture everything.
Can anyone recommend a library with similar functionality which either:
Draws everything within the canvas, or
Has a reliable export to image method
In particular I would like a library which supports the percentiles plot.

Flot 0.8 supports drawing axis labels to canvas using the canvas plugin. I don't know about the chart title - that depends on what plugin or code you're using to do that - but it would be relatively easy to add a draw hook to render that text to canvas.
The only thing Flot can't currently draw to canvas is the legend; that will be added in the next release.

Related

is it possible to display figures on a graph with matplotlib?

Is there a function in Matplotlib to display black rectangles on a graphic ?, like this :
You might want to look into Matplotlib's Patches and subsequent Rectangle modulus. Here's an example showcasing box creations with some error bars.

How to draw a coordinate map containing both horizontal and vertical boxplot with matplotlib

I want to draw a picture like this using matplotlib.
How to do that?
Thank you in advance.
Example/i.stack.imgur.com/Vk57A.png
seaborn.jointplot might be what you're looking for. Specify to draw boxplots in the marginal plot and a regplot in the "main plot".
Seaborn builds on top of matplotlib, so you can still modify linecolors, markercolors etc. and draw annotations with plt.annotate.

How to add anotations to points created with matplotlib.patches.circle?

I've got an image with circles plotted on top using matplotlib.patches.Circle which worked fine here:
I was just wondering if it is possible to add annotations to the circles using the same class Circle as in the second image (two of the circles have manually added annotations 1 and 2)
I know there is a possibility to add a legend to the circles but I need to have the information next to the circles and not as a separate box.

Tkinter enlarging graphs drawn on canvas without changing the canvas size

I am currently creating a GUI which plots data points from a textfile. I would like to enlarge the graph. Would like to ask if it is possible because everything I tried seems to yield no result. Below I attached the image of the graphs which I wish to enlarge. Thanks.

Octave + Gnuplot rendering image upside down

I am displaying data using function imagesc(). If I set fltk as graphics_toolkit image is displayed correctly.
Can't post images directly(low reputation) http://i.stack.imgur.com/ARiwF.png
If I use gnuplot as plotting program image is rendered upside down.
fltk is unusable for me because its window isn't responding while function in octave is running. I also tried plot sine and it was correct plotted through fltk and gnuplot too.
There are at least two workarounds:
Use axis("xy") or axis("ij") to control the orientation of the y-axis, as decribed in the axis documentation
Use set(gca, "ydir", "normal") or set(gca, "ydir", "reverse"), as decribed in the axes properties doc

Resources