Questions tagged [javaplot]

A Java wrapper for gnuplot.

JavaPlot's official site. According to that site, JavaPlot supports Windows XP, Linux (Debian) and Mac OS X (Tiger & Leopard).

29 questions
5
votes
1 answer

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 points in polar space. In a Cartesian plot, it is…
user4815162342
  • 1,532
  • 2
  • 13
  • 15
5
votes
2 answers

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("quit").append(NL); in the file…
Klausos Klausos
  • 15,308
  • 51
  • 135
  • 217
3
votes
1 answer

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 legend (now they are: Datafile 1,…
tgoossens
  • 9,676
  • 2
  • 18
  • 23
1
vote
2 answers

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 .jar package into the default java libraries folder…
Tyler Durden
  • 575
  • 7
  • 23
1
vote
0 answers

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 need to display them and directly edit them. And…
Martafix
  • 13
  • 3
1
vote
0 answers

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("x").setBoundaries(10, 0);, but it sets the…
O. Vitek
  • 13
  • 2
1
vote
0 answers

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 very hard to read. I know how to decrease the size of…
lykowar
  • 13
  • 2
1
vote
2 answers

"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?
rhombidodecahedron
  • 7,693
  • 11
  • 58
  • 91
1
vote
1 answer

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 '-' using 1:2:3:4:5 with labels hypertext point pt…
jfzr
  • 374
  • 4
  • 17
1
vote
1 answer

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 export it from javaplot program and plot 'file'…
Vadim
  • 47
  • 7
1
vote
1 answer

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 adjust accordingly, always using half the canvas.…
1
vote
1 answer

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 empty and when I use the PostscriptTerminal the…
Ravby
  • 53
  • 1
  • 7
1
vote
2 answers

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 GNUPlot. The GNUPlot command to change to polar mode is…
user4815162342
  • 1,532
  • 2
  • 13
  • 15
1
vote
1 answer

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 that the program waits for me to close the plot…
rorold
  • 326
  • 3
  • 13
1
vote
1 answer

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: public static void main(String... args) { JavaPlot…
Janusz
  • 31
  • 1
1
2