Loading ...
Sorry, an error occurred while loading the content.

1966Cumufrac problem

Expand Messages
  • ibid17
    Feb 9, 2007
      I'm having trouble with cumufrac and can't figure out what's wrong. Hoping someone
      can help. I'm using Ploticus 2.32 on Mac OS X 10.4.8 (prebuilt from the Ploticus web
      site.)

      Briefly, the first command below creates a correct cumufrac gif file. The second
      command creates a gif with the correct axes extents, but no data line--the plotting
      area is blank.

      works: bin/pl -debug -gif -prefab cumufrac x=2 data=foo echodata=yes
      doesn't work: bin/pl -debug -gif -prefab cumufrac x=1 data=foo echodata=yes

      foo contains:

      1 1
      2 2
      3 3
      4 4
      5 5
      6 10
      7 23
      8 2

      debug output for the working example is:

      bin/pl -debug -gif -prefab cumufrac x=2 data=foo echodata=yes

      Got command line arg(s): -gif
      Prefabs dir is: /Users/jsimons/Desktop/Downloads/pl232osx/prefabs
      Script file is /Users/jsimons/Desktop/Downloads/pl232osx/prefabs/cumufrac.pl
      Got command line arg(s): x=2
      Got command line arg(s): data=foo
      Got command line arg(s): echodata=yes
      Device code is g
      Setting output file name to cumufrac.gif
      Version: pl 2.32
      Script file is: /Users/jsimons/Desktop/Downloads/pl232osx/prefabs/cumufrac.pl
      Script file successfully opened
      Executing settings
      Executing getdata
      filling data set# 0
      getdata has read 8 records; there are 2 fields per record.
      // proc getdata has read & parsed these data:
      [1][1]
      [2][2]
      [3][3]
      [4][4]
      [5][5]
      [6][10]
      [7][23]
      [8][2]
      Got 8 records, 2 fields per record.
      (endproc)
      Executing areadef
      Autorange on x: min=0 to max=25
      areadef: lowerleft: 2,2 upperright: 7,5
      areadef: xrange is 0 to 25. yrange is 0 to 8.
      (endproc)
      Executing xaxis
      Executing lineplot
      sorting points for line
      Executing line
      Executing areadef
      areadef: lowerleft: 2,2 upperright: 7,5
      areadef: xrange is 0 to 1. yrange is 0 to 1.
      Done with page. Writing out result file. Computed bounding box is: 1.43 , 1.59 to 7.20 ,
      5.20

      debug output for the non-working example is:


      Got command line arg(s): -gif
      Prefabs dir is: /Users/jsimons/Desktop/Downloads/pl232osx/prefabs
      Script file is /Users/jsimons/Desktop/Downloads/pl232osx/prefabs/cumufrac.pl
      Got command line arg(s): x=1
      Got command line arg(s): data=foo
      Got command line arg(s): echodata=yes
      Device code is g
      Setting output file name to cumufrac.gif
      Version: pl 2.32
      Script file is: /Users/jsimons/Desktop/Downloads/pl232osx/prefabs/cumufrac.pl
      Script file successfully opened
      Executing settings
      Executing getdata
      filling data set# 0
      getdata has read 8 records; there are 2 fields per record.
      // proc getdata has read & parsed these data:
      [1][1]
      [2][2]
      [3][3]
      [4][4]
      [5][5]
      [6][10]
      [7][23]
      [8][2]
      Got 8 records, 2 fields per record.
      (endproc)
      Executing areadef
      Autorange on x: min=1 to max=9
      areadef: lowerleft: 2,2 upperright: 7,5
      areadef: xrange is 1 to 9. yrange is 0 to 8.
      (endproc)
      Executing xaxis
      Executing lineplot
      sorting points for line
      Executing line
      Executing areadef
      areadef: lowerleft: 2,2 upperright: 7,5
      areadef: xrange is 0 to 1. yrange is 0 to 1.
      Done with page. Writing out result file. Computed bounding box is: 1.43 , 1.59 to 7.20 ,
      5.20
    • Show all 3 messages in this topic