Hi Vadim,

>  Thanks for your answer and advice! I've started looking into actually
> doing something like this and realized that there is actually a third
> potential problem: is it possible to provide the plot data on demand with
> PLplot? E.g. with these financial plots you may have data for some market
> price from 1990 to 2008 with the resolution of one day. Usually the user of
> the application would just look at some small subrange of this interval,
> e.g. a couple of last months but I'd like to allow zooming and panning the
> graph to show more (or less) values and would like to avoid creating all
> the plot points unnecessarily and only do it when they're about to be
> shown. Would you have any idea about how could this be done?
>   
The classes which I spoke off in another answer do this on their own - 
so this classes save the data which is to be plotted. If you e.g. zoom 
it opens a new stream and plots the "new" data. So I take care of the 
data (in your case which points are shown and which not) above the 
PLplot level. PLplot doesn't allow to zoom or pan data (which was 
important to me), so the only solution was to do it this way. PLplot 
doesn't remember the data, only what it plotted (in a buffer).

Regards,
Werner

-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria
DVR-Nr: 0005886

email: sme...@iap.tuwien.ac.at
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
       +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to