plotting

Plotting 4 curves in a single plot, with 3 y-axes

I have 4 sets of values: y1, y2, y3, y4 and one set x. The y values are of different ranges, and I need to plot them as separate curves with separate sets of values on the y-axis. To put it simple, I need 3 y-axes with different values (scales) for plotting on the same figure. Any help appreciated, or tips on where to look. ...

plotting data from postgresql in python

Can you help me with plotting data from postgresql database (postgis) in python with matplotlib? There are .shp polygons in that database. I need to create simple graphic interface to show those polygons. (cant use any other software, only python and matplotlib). Thank you! ...

High speed WPF plotting control

I currently have a Win32 application (developed in C++ Builder/VCL) which I am redesigning from the ground up for WPF 4. One of the core functions in the app is drawing engineering/scientific plots. I love the control I'm using now (iocomp Plot Pack - excellent product with phone support!), but they don't have a WPF version and don't s...

How to plot a 3D plot in MATLAB?

I have three parameters x,y and t. But the problem is my file structure. My files are named as: e_x_y.txt t_x_y.txt where e_x_y.txt has the error for particular values of x and y and t_x_y.txt has corresponding time values. I need to plot the values in e_x_y.txt on a x vs y vs t graph. What is the best way to do that? I know what ...

Problem storing plot objects in a list in R

I asked this question yesterday about storing a plot within an object. I tried implementing the first approach (aware that I did not specify that I was using qplot() in my original question) and noticed that it did not work as expected. library(ggplot2) # add ggplot2 string = "C:/example.pdf" # Setup pdf pdf(string,h...

how to plot an RDF graph for inspection ?

The W3 has a RDF validator that plots the RDF graph. Do you know a similar utility desktop side ? Forgot to say. I'm on a mac. ...

Plotting cartesian plots, axis inside the figure, possible annotations

Is there any software or library able to plot cartesian plots "high school style" with the axis as a cross inside the figure? Most plotting software I tried just puts the axis as a box around the plot, maybe useful for real world data but for studying simple functions it has less visual information. In addition if it's able to put anno...

Plot graphs in MATLAB

I have a txt file with the following values on each line: SRNO Value1 Value2 There are around 2000 such lines. I would like to plot both Value1 and Value2 in MATLAB Any code on how I could do it? Thanks ...

Combining 3D/2D plots

I'm trying to make a visualization that looks like this . The idea is to have a 3D surface plot overlapping a 2d representation of a surface. I can build arbitrary surfaces/polygon shapes (as in http://addictedtor.free.fr/graphiques/graphcode.php?graph=135 ) and I can make the respective 2D plot. What I don't seem to be able to figure ...

Which multi-axes, multi-scale plotting tool to use?

I am looking for plotting tools capable of using more than one or two vertical axes with different scales, like for instance: The goal is to plot several time series with different ranges in a same plot. For instance, I could have: Time series 1 with range [-1, 1] Time series 2 with range [-10, +10] Time series 3 with range [0, 1500...

How to make a 3D plot in python?

Hi all. I am currently have a n by 3 matrix array. I want plot the three columns as three axises. how can i do that? I have googled and people suggested using matlab, but I am really having a hardtime with understanding it. Can someone teach me? Thanks in advance sorry for the missing infomation. Its in python and I want a scatter plot....

Tools for visualizing and implementing elliptic curve cryptography

I need to create a program which will show how elliptic curve cryptography works. I was considering using Java Swing to create the GUI, but the main problem is what tool to use to plot the elliptic curve itself, and how to integrate that with Java Swing. I would like the plot to be included in the user interface and also allow changes ...

Automatically plot different colored lines in MATLAB

I'm trying to plot several kernel density estimations on the same graph, and I want them to all be different colors. I have a kludged solution using a string 'rgbcmyk' and stepping through it for each separate plot, but I start having duplicates after 7 iterations. Is there an easier/more efficient way to do this, and with more color opt...

Plot with fewer markers than data points (or a better way to plot CDFs?) [matplotlib, or general plotting help]

I am plotting Cumulative Distribution Functions, with a large number of data points. I am plotting a few lines on the same plot, which are identified with markers as it will be printed in black and white. What I would like are markers evenly spaced in the x-dimension. What I am getting is one marker per data point (and given the number o...

How to hide zero values in bar3 plot in MATLAB

I've got a 2-D histogram (the plot is 3D - several histograms graphed side by side) that I've generated with the bar3 plot command. However, all the zero values show up as flat squares in the x-y plane. Is there a way I can prevent MATLAB from displaying the values? I already tried replacing all zeros with NaNs, but it didn't change a...

Change dynamically the contents of a matplotlib plot.

I while ago, I was comparing the output of two functions using python and matplotlib. The result was as good as simple, since plotting with matplotlib is quite easy: I just plotted two arrays with different markers. Piece of cake. Now I find myself with the same problem, but now I have a lot of pair of curves to compare. I initially tri...

reading and plotting an esri shape file in R

I'm having difficulties reading in a .shp (esri shape file) into R. I have tried several options in R, and tried to convert the shape file in ArcMap to something that correctly reads in the shape file but nothing worked yet. (In ArcMap I corrected the geometry, converted from single to multipolygon, etc which was probably not necessary o...

Open-source client-side JavaScript-based 2D data plotting?

I'm wondering if there are any 2D graph plotting libraries that run on the client side using JavaScript? The basic idea is that you could put up a plot in a browser and the user can change things like X and Y scales and limits, zooming in and out, without having to constantly reload the web page from the server. The data itself would b...

Is there a library for python that will generate hierarchy/tree diagrams?

The title kind of says it all really. Matplotlib is fantastic for most graphing applications, but I can't seem to find anything that will make hierarchy or tree diagrams. Does anyone have experience with a package they would wish to recommend? Thanks in advance for your time, Dan ...

Hiding axis text in matplotlib plots

Hi All, I'm trying to plot a figure without tickmarks or numbers on either of the axes (I use axes in the traditional sense, not the matplotlib nomenclature!). An issue I have come across is where (for example) matplotlib adjusts the x(y)ticklabels by subtracting a value N, then adds N at the end of the axis. This may be vague, but the...