[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] >Dev:Console, Sorting, and Graphics



On Sat, 14 Nov 1998 12:09:34 -0600, William H. Asquith wrote:
>
>1) How do I clear output to >Dev:Console:Some Title with each run of a
>script? Always have to close the window with a mouse event--what a waste
of
>time.

This has come up before. Check the list archives, but I think the answer
is that you can't.

>
>2) Desperately seeking help on sorting.  How do I sort one array AND
>reshuffle one or more other arrays along with the sorted array?   How do I
>sort a multidimensional array on a single index?  I've read up on sort
>through the Perl books and can't figure this one out.  I could mimic some
>numerical recipes in FORTRAN but want to do it the Perl Way.

Port a Numerical Recipes routine. It isn't that hard; I ported one of the
searching routines. Perl's sort acts on single lists, and I don't think
there's any way to sort another list in the same order.

>
>3) Desparately needing on-the-fly scatter and line plot capability from a
>either a MacPerl script or a call to Applescript and Mac applications. 
>Suggestions?  Otherwise, I need to find a commercial package that can
>reference an ASCII file for data instead of loading the data directly into
>the program. This way, my MacPerl scripts just simply update the ASCII
file
>and any plots derived from the files will be updated when opened or
printed.
>I'm using Kalidagraph currently, but doesn't allow for this. Excel is
even
>worse.

GD comes with MacPerl and can do simple plots. Since the author of the Mac
gnuplot port is on this list, he can probably comment on whether it's
feasible to drive gnuplot from MacPerl.

>
>4) Are there plans for a MacPerl Cookbook in Perl?  I have seen the
>Unix-style version.

It's actually not a "Unix style" book, although both authors use Unix.

>
>
>William H. Asquith
>Hydrologist
>asquith@macconnect.com
>
>
>
>

-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch