Dmitri,

QSAS ( http://www.sp.ph.ic.ac.uk/csc-web/QSAS ) will do nearly
everything you describe, although it may be an overkill for you in some
respects. It is also open source so that if you wanted to add some
features you could (in principle). While it's targeted at time-series
data, it also works perfectly well with other data. Other aspects that
might interest you (or might not) include being able to manipulate the
data including passing it through your own "plugin" modules to generate
new data products. The plotting is fully interactive and you can easily
select regions and zoom in, select ranges and save the X and/or Y
limits, etc. There is the ability to label things, but not with the
value of the data point.

To get data into qsas requires the writing of a suitable header to
describe it. This is pretty easy; if you sent us a sample data file and
told us what the columns were I could one for you.

You might find that qsas is more than you need (likely, at least in some
respects), and that it is sufficiently large that modifying it or
writing plugins presents you with a steeper learning curve than you
wish, but it might at least be worth trying to install it and play with
the sample data that comes with it to see what it will do.

Regards,
Steve

On Wed, 2009-06-17 at 20:08 +0100, Dmitri Gribenko wrote:
> Hi all,
> 
> I'm thinking about writing an interactive data plotting application
> with plplot.  Data is ngspice simulation results.  I want it to be an
> easy-to-use application tailored for ngspice with features useful when
> exploring circuit simulation results.
> 
> I'm writing to the list to get some advice about implementation
> details of the features.
> 
> Some of the features I want to implement are easy with plplot
> (multiple subpages, Bode plots).  But I want to ask your advice about
> implementing some other features, specifically:
> * zoom in/out;
> * scrolling when zoomed plot doesn't fit into the window.
> 
> As far as I have found from documentation, there is no built-in
> support for zoom.  (Well, there is plsdiplt(), but it zooms the whole
> plot.  I want to zoom into data, leaving axes where they were.)
> Nevertheless, zoom should be easy to implement with just re-plotting
> the "visible" part of the data array.
> 
> The most important feature that I miss in other data plotting
> applications (and the reason to write my own) is the ability to make
> measurements on the plot.  That is, I want the user to be able to pick
> data points on the plot to implement the following features:
> * place a label on the plot with the actual data for the point;
> * find the distance on X and Y axes between two points.
> 
> Here's a quick mockup of what I want:
> http://img29.imageshack.us/img29/5403/plplot.png
> 
> The problem with plGetCursor() is that it receives the event itself.
> If I create the window myself with GTK or Qt, then my code will
> receive the event.  After reading the source, it seems that
> plTranslateCursor() should do the task.
> 
> Can you suggest what driver should I use?  I think about using GTK and
> extcairo.  But in future I want to port the application to Windows.
> Should a Qt application be easier to port than a GTK one?
> 
> Regards,
> Dmitri Gribenko
> 
-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7900
The Blackett Laboratory            E-mail: s.schwa...@imperial.ac.uk
Imperial College London            Office: Huxley 711A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to