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

559Re: [ploticus] Pies #proc getdata segmentation fault

Expand Messages
  • Stephen C. Grubb
    Sep 5, 2003
    • 0 Attachment
      Phillippe, I tried it on solaris and it worked ok. What OS platform are
      you running on?

      -Steve


      On Mon, 1 Sep 2003 pjalaber@... wrote:

      > Hello,
      >
      > It seems there is a bug (segmentation fault) with pies when using #proc getdata:
      >
      > The following script works : (pl -f script.txt -o image.png -png)
      >
      >
      > data: "AA - @PCT%" 46794680
      > "BB - @PCT%" 5274284
      > "CC - @PCT%" 2205646
      > "DD - @PCT%" 1410202
      > "EE - @PCT%" 1069685
      > "FF - @PCT%" 520444
      > "GG - @PCT%" 390097
      > "HH - @PCT%" 297944
      > "II - @PCT%" 288660
      > "JJ - @PCT%" 268565
      > "KK - @PCT%" 809465
      >
      > //// set defaults..
      > #setifnotgiven delim = "tab"
      > #setifnotgiven colors = "black green purple red blue pink lavender black yellow
      > orange blue red"
      > #setifnotgiven values = "2"
      > #setifnotgiven labels = "1"
      >
      >
      > #musthave values labels
      >
      > //// do pie graph..
      > #proc pie
      > center: 1.2 2
      > radius: 1
      > firstslice: 90
      > labelfarout: 1.2
      > explode: 0.2
      > datafield: @values
      > labelfield: @labels
      > labelmode: legend
      > colors: @colors
      > textdetails: color=black size=8
      > clickmapurl: @clickmapurl
      >
      > #proc legend
      > location: 3.3 3.5
      >
      > // END OF SCRIPT
      >
      >
      > Now if you replace "EE - PCT%" with "E - PCT%" ploticus ends with a segmentation
      > fault (however the png image is created).
      >
      >
      > Thanks for your time and help,
      > Philippe.
      >
      >
      > To unsubscribe from this group, send an email to:
      > ploticus-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      >
      >
      >


      Stephen C. Grubb scg@...
      Scientific Software Engineer, The Jackson Laboratory
      600 Main Street Bar Harbor, Maine 04609 USA
    • Show all 2 messages in this topic