plot

Plot GeoIP data on a World Map

Hi, I need a library (preferably written in Python) which is able to take a series of IP addresses (or geographic coordinates) and plots them on a World Map. I already found this one, but it outputs data as a .svg file and it's simply unable to cope with large data sets. Please note that I need something which can be downloaded and ...

Alternatives to using text() to adding text to a plot

This may be a naive question, but I was wondering if there's a better way than using text() to adding text to a plot. Note, I'm also using layout() as well. Specifically, I have a section of a plot where I would like to add some text with headings followed by regular text. text() is fine it seems for simple annotations, but to get th...

plotting time in python with matplotlib

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 the timestamp array. Can I plot time on the x axis and the numbers on the y-axis using matplotlib? I was trying to but somehow it was only accepting arrays of floats.How can I get it to plot the tim...

How do I color part of a graph under a line in MATLAB?

I would like to have in the same figure a line plot and a part of the graph under the line colored (a confidence interval). How can I do this in MATLAB? I already tried the following, but it doesn't work (it only shows the area): plot(theta, p_prior_cum) area(theta(50:70), p_prior_cum(50:70)) axis([0 1 0 1]) ...

Graphs from MYSQL to jquery FLOT

Hi friends, I've discovered flot for jquery for drawing nice graphs. But I can't parse the data I want to represent from MYSQL. It's driving me crazy because I get this error: uncaught exception: Invalid dimensions for plot, width = 0, height = 0 Is there any way to put MYSQL data into flot apart from this?: php part: <?php includ...

How do I plot confidence intervals in MATLAB?

I want to plot some confidence interval graphs in MATLAB but I don't have any idea at all how to do it. I have the data in a .xls file. Can someone give me a hint, or does anyone know commands for plotting CIs? ...

How can I plot a time series graph with Perl?

I have some data from a database (SQLite), mapping a value (an integer) to a date. A date is a string with this format: YYYY-MM-DD hh:mm. The dates are not uniformly distributed. I want do draw a line graph with the dates on X and the values on Y. What is the easiest way to do this with Perl? I tried DBIx::Chart but I could not make it ...

R: Write Plot Text/Binary into Variable

Is there a way to have an R Device (postscript would be great) write the output into a variable instead of a file? For example I know this: postscript(file="|cat") plot(1:10) dev.off() Will send the postscript text to STDOUT. How can I get that text into a variable within R? ...

"OCR" for a graph - scraping sample values from a plot image

This isn't really OCR, since it's not recognizing characters, but it's the same idea. Anyone know of an image-processing library or established algorithm for retrieving the values from a (raster) plot image? For instance, in this graph, it's hard for me to read exact values with my eyes because there's such gaps between gridlines: I...

Draw hyperplane in R ?

How does one go about drawing an hyperplane (given the equation) in 3D in R ? (i.e. 3d equivalent to "abline") Thanks in advance, ...

How to make a basic line plot in MATLAB?

I have a = 54.1848 50.0456 99.9748 83.1009 63.1457 91.7577 64.0805 48.2090 75.7711 t = 79.7077 31.0913 14.9389 10.8303 16.4844 26.8465 41.6946 77.3369 186.3246 How can make a simple line plot with a on y axis and t on x axis? plot (a,t) gives and plot (t,a) gives I don't ...

Sutable plotting lib for comet tecnique?

Could you recommend me the best plotting lib for this task? It should run on a browser (javascript or flash) and It have to let me add points from javascript code in a way like: myPlot.add([x,y]) so I can push data from the server and have real time graphics. Today I'm using flot (jQuery based). Where the task is not as straight as m...

[Qt/Opengl] Accelerate 2d Drawing

I'm triying to make a 2D real-time plot. I've tried with modifying the osciloscope example of qwt, tried to use QGraphicsView, and QPainter to reach high framerate drawing. I'm using 8 channels to plot data wich is arriving from a rs232 port. I take a sample every 10 ms. Maybe i've used the QPainter in a wrong way, but i couldn't draw ve...

Gnuplot Cumulative Column Question

I have some data. #Time Distance 1 3 2 5 4 9 8 11 12 17 14 20 16 34 20 40 I want to plot the cumulative distance wrt time in gnuplot ... (it should be easy) but I do not know how. x ...

JQuery flot plot is not working in $.getJSON

The code in javascript is $(document).ready(function () {var options = { series: { points: { show: true }, shadowSize: 0 }, xaxis: { mode: "time" }, yaxis: { min:0, max: 100 }, pan: { interactive: true }}; $.getJSON("http://localhost:8085/WebApplication1/metricsJson.jsp?instanceId=3457", function(data){ ...

How to seed RRDtool from file with timestamps?

I have a file with timestamps for hits on a system. How can I feed this into the RRDtool database (or other similar solution), so that I can plot a time graph? ...

Plotting library with support for scaled printing?

I'm currently searching for a plotting library which can scale its axis to cm/inch for printing. The problem is that the users sometimes want to print the plots and paint custom curves. To see what it's values are, they measure by hand what values it would have. If the space between two ticks is 1.34cm, measuring this would be impossible...

Plot Overlay MATLAB

How do you take one plot and place it in the corner (or anywhere for that matter) of another plot in MATLAB? I have logarithmic data that has a large white space in the upper right-hand side of the plot. In the white space I would like to overlay a smaller plot containing a zoomed in version of the log plot in that white space (sort ...

R plot model over observatio

This is a really really simple question to which I seem to be entirely unable to get a solution. I would like to do a scatter plot of an observed time series in R, and over this I want to plot the fitted model. So I try something like: model <- lm(x~y+z) plot(x) lines(fitted(model)) But this just plots x with lines. Thanks ...

Can I put Hudson Plots on the project page?

I've got Hudson up and running, building Django and Python projects I'm working on. I've found and am using the [Plot plugin][2] to graph Pylint scores, by extracting them with Awk to create a pylint.properties file. So far everything is working great, but I'd like to have the Pylint score appear on the project page. Right now you have...