plotting

Graphing large amounts of data

In a product I work on, there is an iteration loop which can have anywhere between a few hundred to a few million iterations. Each iteration computes a set of statistic variables (double precision), and the number of variables can be up to 1000 (typically 15-50). As part of the loop, we graph the change in the variables over the iterat...

plot a 3 axis graph as a mesh

I have seen 3d surface plots of data before but i do not know what software i could use to make it. I have 3 series of data (X, Y, Z) basically i want each of the rows on the table to be a point in 3d space, all joined as a mesh. The data is currently csv, but i can change the format, as it is data i generated myself. Can anyone help ...

Is there any 'out-of-the-box' 2D/3D plotting library for C++?

Hello all, I looked at the different options for plotting functions (or other types of graphs) in an interactive window. I mostly use wxWidgets but I'd be open to any other "interfaces". Looking at what is available, here is what I've found: wxPlot: Not updated since 2006. But it would be a good candidate if it was... wxMathPlot: Ve...

How do you change the size of figures drawn with matplotlib?

How do you change the size of figure drawn with matplotlib? ...

Is there a way to detach matplotlib plots so that the computation can continue?

Dear all, After these instructions in the Python interpreter one gets a window with a plot from matplotlib.pyplot import * plot([1,2,3]) show() # other code Unfortunately, I don't know how to continue to interactively explore the figure created by show() while the program does further calculations. Is it possible at all? Sometimes c...

Beautiful charting/graphing/scientific plotting

Are there any open-source charting libraries (at this point, I don't care what language/platform it's available for) that can produce "really, really, ridiculously good looking" plots, preferably with features for "scientific" plotting such as error bars? Keynote and Office 2007 really opened my eyes to the aesthetics, and I'm accustome...

Plotting with C#

C# seems to show some promise for scientific computing, but I found very little about one plotting 2D graphs, which is very important both for science student and scientists. Is there a reliable, free, way to create publication quality 2D plot with C# ? And the capacity to save to several formats (png, eps, ...). Something similar to Py...

jQuery Flot identical range ticks

Hi i want to add ticks that are not in a fixed range. i.e my ticks will be 1,2,3,3,3,3,4,5 how would i tell a data set for the graph type to plot points based on the tick number, instead of a fixed range. ...

Library/tool for drawing ternary/triangle plots

I need to draw ternary/triangle plots representing mole fractions (x, y, z) of various substances/mixtures (x + y + z = 1). Each plot represents iso-valued substances, e.g. substances which have the same melting point. The plots need to be drawn on the same triangle with different colors/symbols and it would be nice if I could also conne...

How can I rearrange my data to be (x,y) coordinates for GD::Graph?

I am writing a program that takes in an input file from the user. The file has bunch of numbers in it and I will read the numbers in the file and create a plot based on those numbers using GD::Graph. The first line of the file is X axis, second line of the file is Y values corresponding to X axis and third, fourth, ..., etc For example...

How do I tell matplotlib that I am done with a plot?

The following code plots two .ps files, but the second one contains both lines. import matplotlib import matplotlib.pyplot as plt import matplotlib.mlab as mlab plt.subplot(111) x = [1,10] y = [30, 1000] plt.loglog(x, y, basex=10, basey=10, ls="-") plt.savefig("first.ps") plt.subplot(111) x = [10,100] y = [10, 10000] plt.loglog(x, y,...

Plotting a function with centered axes

I had a short look at some popular plotting libraries but haven't found what I need until now. Basically I'm looking for a library or tool that generates a graph as it is known from school. That means not an axis description at the outer left and one at the bottom, but two crossed axes, mostly positioned in the center of the graph. You...

cubic spline extrapolation

I have some nice Cubic spline code, but it is for interpolation only. now I need to extrapolate just a little into the future. For example the series shown here: http://en.wikipedia.org/wiki/Extrapolation Anyone know of a good source of CODE for doing this (not a library) This is the code I wrote in basic (now ASM) for interpolating ...

What can I use for real-time plotting/graphing in C++?

I am looking for a C++ library or component which would ideally be cross-platform, but will first only be needed for Win32. The requirements are: one to 10 updates per second good documentation and samples easy to use cross platform (optional) Basically we have some data derived from financial market data feeds and we do some calcul...

Python plotting libraries

What alternatives are there to pylab for plotting in python? In particular, I'm looking for something that doesn't use the stateful model that pylab does. ...

How to plot a nonlinear system of 3 equations with 3 symbolic variables in MATLAB?

I don't have a lot of experience with Matlab. I know that you can plot equations with 2 variables like this: ezplot(f1) hold on ezplot(f2) hold off; How would you plot three equations with three symbolic variables? An example system would be: x^2+y^2+z^2-1=0 2*x^2+y^2-4*z=0 3*x^2-4y+z^2=0 It would be ideal if there was a way to pl...

How do you draw different surfaces with the same color scale in MATLAB?

I'm trying to represent several surface plots* for which the scale differs a bit. Each surface plot is drawn in a separate subplot and/or figure. Right now, I'm using the default color mapping, which automatically scales the whole range of the color map to my figure, i.e. the maximum of my surface is always red (in 'jet' color mode) reg...

How can I make "real-time" plots with wxMathPlot?

I am thinking of using wxMathPlot for plotting/graphing some data that arrives continuously. I want to draw "Real-time" plot/graph using it. Is that possible? I.E. I don't want just a static graph of a one-time read of a file - I want the streaming data plotted and continued out to the right of the graph - (and let the left side fall...

Looking for a faster-than-GDI solution for rendering dynamic data plots

I've written a simple GDI-based data plotter using C++/CLI but it's not particularly fast (some basic profiling indicates it's the rendering to screen that's the problem). Is there any way to enable hardware acceleration for a UserControl or is there a .net interface for direct3D? ...or are there some other options I could consider. We...

What is the best plotting library for Python?

What Python plotting library do you recommend? It should be noted the following considerations: is it cross-OS? speed how clean it's interface? "prettyness" of the resulting plots License etc? In the Python Wiki there is a list, but there is little comparison between them. Interesting SO links (not quite duplicates, but usefull t...