Hi Alan,

I tried your changes and while the results are excellent I do have a
few remarks:
- I tested on bare Windows (XP) and therefore the build did not create a
   subdirectory xwin. "make test_tcl_standard_examples" failed therefore!
- Running it manually with an interactive device (wingcc) so that I
   could see the plots (clicking the spacebar to get to the next) worked
   fine - up to example x20. This example did display the graphs, but
   very quickly only - as did all the other ones, due to "plspause 0"

So we have a small issue at hand: interactive devices should be dealt
with in a different way than non-interactive ones like ps. Perhaps
a command-line option?

Meanwhile I will implement a small trickery to the standard_examples,
so that you can run them as:

pltcl standard_examples

too (the shebang line does not work under bare Windows).

Regards,

Arjen

On 2010-06-16 23:43, Alan W. Irwin wrote:
> On 2010-06-16 11:42-0700 Alan W. Irwin wrote:
> 
>> Hi Arjen:
>>
>> Many thanks for this work on mass runs of the Tcl examples.  I have 
>> followed
>> up with some additional changes (revision 11077) including 
>> implementation of
>> the test_tcl_standard_examples target.
>>
>> Please run "make test_tcl_standard_examples" there to make sure it works
>> properly on your platform(s).  It exercises 
>> examples/tcl/standard_examples
>> without showstopper issues here (Debian Lenny).
>>
>> I agree something funny is going on for example 21 because after that
>> example the convenient "-np" option which is passed to pltcl no longer 
>> works
>> so you have to go back to hitting the enter key numerous times to get
>> through the rest of the examples.
> 
> Hi again, Arjen:
> 
> I am still interested in how the test_tcl_standard_examples works on your
> platforms, but sorry for the noise concerning the -np option.  Here is the
> correct story. The -np problem occurs for example 20, not example 21.  So I
> fixed that by invoking plspause 0 after the 20th example in
> examples/tcl/standard_examples(.in).  This fix greatly reduces the 
> keystrokes
> necessary to get through all the interactive examples run by the
> test_tcl_standard_examples target.
> 
> Also, I reinstated (revision 11078)
> example 21 because there were no ill effects on example 22 when using -dev
> xwin.
> 
> _After_ "make test_tcl_standard_examples" (which takes care of all
> dependencies) you can run the grouped tcl examples for any device
> as follows:
> 
> make ps #(use whatever device driver you want to check).
> cd examples/tcl
> ./standard_examples -dev psc -o test.ps
> 
> etc.  Which devices cause issues with example 22 on your platform(s)?
> 
> Finally, I am still concerned with the lack of -np functionality in the Tk
> grouped examples which are run by examples/tk/standard_examples(.in).
> Currently the user must use lots of keystrokes to get through all the
> examples associated with that target. So I locally tried a "plspause 0" fix
> there (e.g.,
> 
> .plw.plwin cmd plspause 0
> 
> either before or after
> 
> "$demo .plw.plwin" in examples/tk/tkdemos.tcl), but nothing worked.
> 
> Can you advise on the proper way to automatically run plspause 0 _before_
> each example in tkdemos.tcl?
> 
> 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
> __________________________
> 
> 

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to