Hi Alan,

I had rather hoped I would not have to revisit that code ;), but
I think you are right. I will have to look into the code of the
example more closely, to see if it does what I intended it to do
and if that is the case, then there should not be any empty subwindows.
The next step is to see what is going wrong in the filling routine.

(The logic is rather complicated, hence my remark above, but we need to
check it!)

Regards,

Arjen

On 2009-11-27 02:58, Alan W. Irwin wrote:
> Hi Arjen:
> 
> The x and y window limits for the 7th subpage (lower left) of each page of
> example 25 are -20 to +20.  i.e.,
> 
> xextreme[6][0] = -20.0; xextreme[6][1] = 20.0; yextreme[6][0] = -20.0;
> yextreme[6][1] = 20.0;
> 
> For that case and for the diamond and reverse diamond cases (page 1 and 2)
> you are sampling the middle of a polygon which has a much larger range than
> the window limits. Thus, for this case the window limits samples the filled
> center of the diamond (and reverse diamond) and shouldn't you expect red
> completely filling the window as a result?
> 
> If you agree with that supposition, then there must be a plfill bug in the
> PLplot core since the 7th subpage is empty (rather than a block of red). See
> http://plplot.sourceforge.net/examples.php?demo=25 that was produced by
> pngcairo for an example of this bad result, but I get this same bad result
> regardless of what device driver I try.
> 
> Note, I noticed this bug because I have adapted example 25 (see next post)
> to run a second set of four pages where plgradient (implemented with a
> software fallback using plshades) replaces plfill.  For that case, the 7th
> subpage is filled with plshades results which is why I began to wonder why
> plfill left it empty.
> 
> 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
> __________________________
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to