On 2009-03-31 03:45-0500 David Strang wrote:

> Hi:
>
> I am using plplot 5.9.2 to learn Gnome GUI programming under
> Ubuntu 8.10 Linux. I have used previous versions of PLPLOT
> dating back to my AMIGA, but I need to get up to speed
> with current versions of PLPLOT.
>
> I have a working plplot example of the plplotcanvas animation
> and demo to start with.
>
> My initial goal was to divide the canvas using plplot_canvas_ssub ,
> then plotting multiple simple plots (from the demo), using plplot_canvas_adv( 
> i )
> to move to the next page.
>
> Rather than describe my failed attempts placing plplot_canvas_ssub , what is 
> the correct
> way to mod the plplotcanvas_demo.c code to get multiple subpages?
>
> Is there a problem since plplot_canvas_new() calls plitit() ?
>
> All help is appreciated.
>
> Regards,
> Dave Strang
>
> PS: My goal is to plot 6 frequency distributions in one canvas with 
> plplot_canvas_hist( ).
>      Maybe later I could build 6 canvases and do plplot_canvas_hist( ) in 
> each.

Hmmm. Your interest in PLplot dating back to the AMIGA predates mine.  :-)

Welcome back.

I do confirm there is a problem with creating subpages with the gnome2
bindings.  I tried plplot_canvas_ssub(canvas, 2,1) in various places in
plplotcanvas_demo.c, and also plssub(2,1) just after plparseopts was called
(that way of calling plssub works in example 25), but nothing worked.  I
either got lots of PLplot errors/warnings or no such messages, but a
completely blank screen. I checked plplotcanvas.c to make sure there was
nothing obviously wrong with the way that plplot_canvas_ssub was programmed,
but all seemed well there, and, indeed, for one of the error-free positions
in plplotcanvas_demo.c, i.e., just before the first call to
plplot_canvas_adv, plplot_canvas_ssub(canvas, 1,1) does work.  But anything
other than '1,1' leads to a blank screen.

It's possible somebody else here can help you get to the bottom of this
issue, but our expertise on the gnome2 bindings is pretty thin so you may be
on your own.  The problem is that Thomas Duck, the developer of
bindings/gnome2 and the only one really familiar with that aspect of PLplot,
retired from the project several years ago due to the pressures of his
research/academic career at that time.  It's possible you might coax him to
give you some help if you contact him directly, and he is certainly welcome
back here if he wants to start developing his GNOME PLplot bindings again,
but of course he might still have much more urgent priorities than PLplot.

If it turns out you ultimately have to figure this out on your own, then you
are certainly welcome to send the appropriate bindings/gnome2 patches.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to