Re: [Graphs-users] JPlot
Brought to you by:
vanderlee
From: Jan v. d. L. <Jan...@en...> - 2003-05-22 12:22:39
|
David, That problem has been noticed before, and is addressed in version 1.3. Since this version is currently unstable, I cannot propose it yet to anyone... But I uploaded a patched version 1.2.2 to the website: the only differenc with 1.2.1 is that it will correctly display the negative numbers. Hope this helps, =2DJan. On Thursday 22 May 2003 11:48 am, you wrote: > Hi Jan, > > I have found JPlot to be an excellent package. I do have one question > though: > > When I plot data which lies both above and below zero, the numbers on the > y-axis above zero are written in standard notation (e.g. 1.0e4), but the > numbers below zero are written as 0.0001 or whatever. This gives a > problem for numbers smaller than 0.00001, as there isn't enough room, and > so it just writes a zero. Is there a way to get it using standard > notation for both positive and negative numbers on the axes? > > Thanks very much for any help you can give, > > David Churches. > > > > > ------------------------------------------------------------- > David Churches > Department of Physics and Astronomy > Cardiff University, 5 The Parade, Cardiff, CF24 3YB, U.K. > Phone: + 44-29-20874785, 20875120 (direct line) Fax: + 44-29-20874056 > d.c...@as... > > On Tue, 13 May 2003, Jan van der Lee wrote: > > On Tuesday 13 May 2003 12:57 pm, David Churches wrote: > > > Hi, > > > > > > I am interested in using JPlot inside another application. My main > > > problem is that I will not be using files to get the data into JPlot, > > > but be passing data into it in real-time as the application runs. > > > > > > Is there any support for a non-file-based mode for getting the data > > > into JPlot? > > > > Hello, > > > > Check the update method in JPlot.java: it uses a DataFile object > > which actually contains the data in vectors. It is straightforward to > > derive this class and to feed the DataFile object with another type of > > stream than a file-stream. Hence it can be done, but requires some new > > coding. > > > > But to answer your question more precisely: version 1.2 has no > > built-in support for dealing with generic data-streaming. Keep an eye > > on the website: the next release (this summer) will include all the > > support you need. > > > > Regards, > > -Jan. > > -- > > Jan van der Lee =2D-=20 Jan van der Lee Tel. + 33 1 64 69 47 32=20 Centre d'Informatique G=E9ologique =C9cole des Mines de Paris -- Fontainebleau Internet: http://www.cig.ensmp.fr/~vanderlee |