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

Re: [ploticus] Re: yaxis cutoff

Expand Messages
  • Stephen C. Grubb
    I m hoping around February. Steve ... Stephen C. Grubb scg@jax.org Scientific Software Engineer, The Jackson Laboratory 600 Main Street Bar Harbor, Maine
    Message 1 of 7 , Dec 16, 2004
    • 0 Attachment
      I'm hoping around February.

      Steve

      On Wed, 15 Dec 2004, Andrew wrote:

      >
      >
      > I tried many different combinations and can't get the line to clip..
      > when is the next release ?
      >
      > --- In ploticus@yahoogroups.com, "Stephen C. Grubb" <scg@j...> wrote:
      > > On Thu, 18 Nov 2004, Andrew wrote:
      > >
      > > > i am using the prefac chron and i was wondering if there was a
      > way to
      > > > cutoff the y-axis value..
      > > >
      > > > for example if my yrange is 0 500 and one of my values in my dat
      > file
      > > > is 550 the line goes above the max yrange.. is there anyway to
      > cutoff
      > > > the value at the yrange max ?
      > >
      > > Clipping the line to the plotting area should be possible in chron
      > but I
      > > see that it's not. However the underlying plotting engine supports
      > it, so
      > > it is an easy thing to enable (source code not required).. here's
      > how:
      > >
      > > go into your ploticus/prefabs directory
      > >
      > > edit chron.pl
      > >
      > > around line 216 add the line " #ifspec lineclip clip"
      > >
      > > so it looks like this:
      > >
      > > 210 #elseif @mode = line
      > > 211 #procdef lineplot
      > > 212 xfield: @x
      > > 213 linedetails: @linedet
      > > 214 stairstep: @step
      > > 215 #ifspec gapmissing
      > > 216 // the following was added - scg 11/19/04..
      > > 217 #ifspec lineclip clip
      > > 218 #saveas L
      > >
      > > That's it.. Then on your command line add "lineclip=yes"
      > >
      > >
      > > This fix will be included in the next release.
      > >
      > > Steve
      >
      >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >


      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.