On 2015-03-18 22:26+0100 laurent Berger wrote:

> Today i have try to use new plplot version for my wxwidgets application. With 
> 5.10.0 plplot I can use plplot to draw a curve in a panel and a box sizer 
> (attached image). My class was something like this :
> Histogram::Histogram(  wxWindow* parent, wxWindowID id, const wxPoint& pos,
>                            const wxSize& size, long style, int pl_style ) :
>          wxPLplotwindow( parent, id, pos, size, style, pl_style )
> With the new plplot version how can I do the same thing?
>
> Thanks for yours answers

For the master tip version I would suggest comparing
deprecated_wxPLplotDemo.cpp (the old way of doing things)
with wxPLplotDemo.cpp (the new way of doing things) to
help give you a hint on what you have to change in your
own wxwidgets apps.

By the way, it is not working correctly just yet, but for the release
we plan to provide a -DOLD_WXWIDGETS=ON option (OFF will be the
default) where the user can select the old way of using wxwidgets
which should mostly just work (including using
deprecated_wxPLplotDemo.cpp rather than wxPLplotDemo.cpp to create the
wxPLplotDemo app.) But don't rely on OLD_WXWIDGETS=ON too much because
we plan to deprecate it for the next release and then remove this
option altogether in some future release.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to