29 questions
1
vote
0
answers
84
views
How do I pass specific commands to gnuplot while using JavaPlot
I'm making a Java app, that uses gnuplot. I've already successfuly displayed a graph in JPanel (using JPlot). But I need to get somehow access to commands that JavaPlot gives to gnuplot, or rather I ...
1
vote
0
answers
42
views
Reverse axis in JavaPlot
I want to plot a graph in JavaPlot with axis 'x' starting on higher numbers (and ending on lower). Just the equivalent of gnuplot's set xrange [10:0].
I've tried doing the same with JavaPlot p.getAxis(...
1
vote
0
answers
127
views
How to increase size of graph Javaplot
I'm new to Javaplot and I'm using it to generate several graphs of some processes to determine their efficiency.
I've made my way around to be able to create several graphs in a page but they are ...
0
votes
1
answer
204
views
How do I get vertically stacked plots using JavaPlot?
How can I reproduce these vertically stacked plots, available in gnuplot:
set multiplot
set size 1, 0.5
set origin 0.0,0.5
plot sin(x), log(x)
set origin 0.0,0.0
plot sin(x), log(x), cos(x)
unset ...
2
votes
1
answer
2k
views
Gnuplot: plot 2D graph with variable points sizes and colors
I have been trying to plot scatter data with points where the size and colors depend on the input. I have check some others examples and I get to write this, but then I get that error message
plot '-...
-1
votes
2
answers
238
views
JavaPlot timestamps not working
I have a file like
1429520881 15.0
1429520882 3.0
1429520883 340.0
and I try to use it in JavaPlot
JavaPlot plot=new JavaPlot();
GenericDataSet dataset=new GenericDataSet();
filling dataset with ...
1
vote
1
answer
465
views
gnuplot timestamp format from double number (13dig. epoch)
I have a file with strings
1.429520882432E12 3432.0
1.429520882914E12 1573.0
...
first col is epoch timestamp(13 digit), how could I get time from it? I couldnt find format for 'double' digits
I ...
1
vote
1
answer
148
views
JavaPlot graph only uses half of canvas
I'm trying to use JavaPlot to automatically graph some data. Everything about the graph is being generated fine, but it is only using half the canvas. I can adjust the canvas size, and the graph will ...
1
vote
1
answer
504
views
How to save svg or esp file in JavaPlot
I tried the code for saving png files found here and it works.
But I want to save a vector image, so I changed the terminal to: PostscriptTerminal and SVGTerminal. For the SVGTerminal the output in ...
5
votes
1
answer
2k
views
Draw an annulus segment in GNUPlot
I would like to shade a specific region in a polar plot using GNUPlot. This region is bounded by limits in R (r1, r2) and Theta (t1, t2), so the final shape is an annulus segment defined by only 4 ...
1
vote
2
answers
303
views
Create Polar plot in JavaPlot
I'm having trouble passing GNUplot parameters through JavaPlot. I've been able to use JavaPlot for several different graphs, but I can't seem to get JavaPlot to activate the "polar" setting in ...
0
votes
1
answer
926
views
Javaplot set grid
I try to plot using JavaPlot a particular graph in a java project (I use eclipse).
Now, I create the module for plotting as follow:
public void createPlot(){
JavaPlot p = new JavaPlot();
p....
0
votes
1
answer
255
views
JavaPlot: Is there anyway to replot the data in the same plot instead of creating a new graphic?
I was trying to monitor the change of some parameters using JavaPlot.
Is there a way to simply update the plot of data in the original plot?
0
votes
1
answer
274
views
JavaPlot: How can I use the fit method of GNUPlot?
I have a set of 6 points. Now I want to create a trend line (fifth-degree polynomial). I don't have much experience with GNUPlot, yet, but I found the "fit" method which should do exactly what I want. ...
1
vote
1
answer
154
views
Is there a non-blocking equivalent to JavaPlot.plot()?
I'm using JavaPlot in windows 7 to plot multiple datasets in Java, and I've found that the plot() method contains a section that waits for the GNUPlot process to end.
What this means in practice is ...
0
votes
1
answer
627
views
JavaPlot - How to plot more data sets to same graphic?
I want to compare time series data in just one graphic. I added several data sets to same plot and plot it - just one data set is shown. Documentation missing, existing questions useless..
Question: ...
0
votes
1
answer
263
views
gnuplot 4.7 and Javaplot | The windows is disappeared immediately
I'm trying to see my plot using Javaplot, but the window is not even shown and disappeared immediately.
Here is my code:
JavaPlot p = new JavaPlot("C:/Program Files (x86)/gnuplot/bin/pgnuplot.exe");
...
0
votes
1
answer
780
views
Plot2DPanel- Set axis string labels
I am trying but not succeeding to replace numeric labels by string labels on a Plot2DPanel display.
Here is a look of my chart using numeric X axis labels:
Here is the code I use:
// create your ...
5
votes
2
answers
2k
views
GNUPlot disappears immediately after its creation
I have created the gnuplot, but the problem is that it disappears immediately. I tried different solutions proposed in other threads, but none of them worked. Solution 1: comment the line bf.append("...
1
vote
1
answer
563
views
Javaplot under windows 7 and gnuplot 4.6 - disappearing result
I want to return to the old thing:
JavaPlot and gnuplot
I'm using windows 7 and I have the same problem, it means that my graph disappear immediately after the launching my simple test program:
...
0
votes
1
answer
257
views
Java - JavaPlot under Mac OS X 10.8 - Could I somehow avoid installing gnuplot?
If you don't know JavaPlot, it's a Java library which 'connects' Java with the popular gnuplot providing a set of classes. When it runs, it searches for the gnuplot binary in your system. Anyway, some ...
0
votes
2
answers
787
views
Spectogram using JavaPlot not working
I'm trying to display a spectogram using JavaPlot with this piece of code:
PlotStyle style = new PlotStyle();
style.setStyle(Style.IMAGE);
DataSetPlot data = new DataSetPlot(points);
...
1
vote
2
answers
146
views
Repercussions of trying to kill a program before closing OutputStreamWriter
This is part of larger graphing program (JavaPlot specifically). In a nut shell, I would try to graph something; the graph would appear at
out.write(comms);
but then close once it hit
out.close()
...
1
vote
2
answers
777
views
Scatter Plot will not change color
I'm trying to change the color of the points on my 3D Scatter Plot. The points change to black, not the color I want and the point on the key changes to the correct color. Does anyone know why this ...
0
votes
1
answer
2k
views
Using JavaPlot/Gnuplot for 3D graphing
I'm trying to do what the title says. Obviously gnuplot is capable of doing this but I want to use JavaPlot to call it. The Graph3D class in JavaPlot makes me think its possible but as I have found no ...
1
vote
2
answers
3k
views
How do I run Gnuplot Scripts from a Java environment?
All of the information I'm finding about using JavaPlot is about how to create plots and run them from a Java code-level. This is fine, but I already have some script files used that do what I want ...
1
vote
2
answers
3k
views
Incorporating gnu javaplot in application
I am having a few issues setting up javaplot into my application.
I have downloaded the source files from: http://sourceforge.net/projects/gnujavaplot/files/latest/download
and i have dragged the ....
3
votes
1
answer
3k
views
JavaPlot (GNUPlot) set legend labels and axis name
The current code i use is:
JavaPlot plotter = new JavaPlot();
plotter.setTitle("Title");
plotter.addPlot(data1);
plotter.addPlot(data1);
plotter.plot();
But I want to be able to set the labels in de ...
1
vote
2
answers
3k
views
"With lines" in JavaPlot?
I am using JavaPlot. In gnuplot, I would type
plot "data" with lines
In JavaPlot, I have
JavaPlot p = new JavaPlot();
p.addPlot(data);
p.plot();
Any idea how to get the lines?