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

Re: [ploticus] pie legend problem with ploticus 2.11

Expand Messages
  • Stephen C. Grubb
    Philippe, this is indeed a bug.. the source code fix has been posted on the What s New page under late fixes
    Message 1 of 2 , Jul 15, 2003
    • 0 Attachment
      Philippe,

      this is indeed a bug.. the source code fix has been posted on the What's
      New page under "late fixes"

      http://ploticus.sourceforge.net/doc/Versions.html

      Steve



      On Tue, 8 Jul 2003, Philippe Jalaber wrote:

      > Hello Steve,
      >
      > I am trying to use the latest version of Ploticus (2.11) in order to generate
      > a pie graph. It seems there is a problem with the legend which is generated
      > twice. (This problem didn't appear with version 2.10).
      > Thank you for your time and help.
      >
      > Best regards,
      > Philippe
      >
      > Here's the script file I use:
      >
      > #proc getdata
      > data: "A - @PCT%" 654
      > "B - @PCT%" 107
      > "C - @PCT%" 99
      >
      > //// set defaults..
      > #setifnotgiven delim = "tab"
      > #setifnotgiven comment = ""
      > #setifnotgiven colors = "black green purple red blue pink lavender black
      > yellow orange blue red"
      > #setifnotgiven explode = ""
      > #setifnotgiven lbldet = ""
      > #setifnotgiven title = ""
      > #setifnotgiven titledet = ""
      > #setifnotgiven select = ""
      > #setifnotgiven clickmapurl = ""
      > #setifnotgiven labels = 1
      > #setifnotgiven values = 2
      >
      > //#include $chunk_read
      >
      > #musthave values labels
      > #proc page
      > backgroundcolor: transparent
      >
      > //// do title..
      > #if @title != ""
      > #proc annotate
      > //// #if @CM_UNITS = 1
      > //// location: 6.25 10.5
      > //// #else
      > //// location: 2.5 4.2
      > //// #endif
      > //location: 1.3 3.6
      > textdetails: @titledet align=C adjust=-1.0,+1.2
      > text: @title
      > #endif
      >
      > //// 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
      >
      >
      >
      >
      >
      > 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
    Your message has been successfully submitted and would be delivered to recipients shortly.