On 2018-11-20 07:49-0000 Arjen Markus wrote:

When I had corrected the immediate problem by setting the two variables to more 
reasonable values, I got a nice xy-plot and an empty histogram. Then I looked 
at the implementation of plhist() - and realised that it is meant to plot a 
distribution of the data. The data that are passed should match the x-axis, in 
this case the times, and the minimum and maximum on which to base the bins 
should match the x-axis as well. However, the code as I have been using it from 
the tarfile, passes the y-values (FloatData) and the minimum and maximum times.

So I changed the argument to FloatDate instead. The plot is still empty though, 
the 22 data points do not show up in any way. At least this gives us a starting 
point to analyse the problem.

Hi Arjen:

That indeed looks like a good starting point for the failing test
case.  But fundamental debugging principles support the idea that
another starting point that uses plhist with success should be a big
help to find out what is wrong with the failing call to plhist.

So I have the same question for you that I asked Sergey.  If you try
using the code from example 5 do you get the same rendered result as
displayed at <http://plplot.org/examples.php?demo=05>, i.e., plhist
success?  Once you have a succeeding test case and failing test case
with plhist, then finding what the trouble is with the failing test
case should be completely straightforward.

Alan
__________________________
Alan W. Irwin

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
__________________________


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

Reply via email to