#1 Mac enhancements for Gnuplot.py

open
nobody
None
5
2012-09-17
2001-06-16
Jon Moody
No

Attached patch contains 2 enhancements for Gnuplot.py
on the Mac:
support for inline data via Apple Script
support for the hardcopy method via Apple Script

Also, the attached tarfile contains an updated
Python<->Apple Script interface package using the
latest Gnuplot for mac release (3.7.1c). This can be
untarred in the main Gnuplot directory.

Some details:
Inline via Apple Script requires that the data string
be broken up into chunks of length < 255 chars. Also,
the array written by utils.write_array() needs to use
'\r' for the line ending ('nest_suffix').

For hardcopy I had to change hardcopy method so that
terminal specific code is in the platform-specific
gp_*.py because on the Mac we need to print using the
'pict' terminal.

If any question let me know.

--
Jon Moody

Discussion

  • Jon Moody
    Jon Moody
    2001-06-16

    patch to Gnuplot-1.5

     
    Attachments
  • Jon Moody
    Jon Moody
    2001-06-16

    new py<->AppleScript interface package

     
    Attachments
  • Logged In: NO

    Gnuplot-py.patch seems not to have anything, just a php file
    that is downloaded...

    The php from the second download entry delivered different
    files. What to do with them?

    Thank

     
  • Logged In: YES
    user_id=38106

    I could download both files OK. I had to just click on the
    links to start the download, rather than clicking on "Save
    link as...".