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

Re: no limit

Expand Messages
  • alfredklomp
    Hi, I run Ploticus 2.32 on Linux, and today I encountered this same problem. I wanted to draw a plain axis, a single line with no tics or stubs:
    Message 1 of 6 , Apr 6, 2006
    • 0 Attachment
      Hi, I run Ploticus 2.32 on Linux, and today I encountered this same
      problem. I wanted to draw a plain axis, a single line with no tics or
      stubs:

      //----------------
      #proc yaxis
      axisline: width=0.5
      stubs: none
      tics: none
      location: 100(s)
      //----------------

      The result is an error 5729, circuit breaker tripped.

      I'm no programmer and not too familiar with the Ploticus codebase, but
      with the little knowledge of C that I have, I think I've tracked down
      the problem.

      My hypothesis: in proc_axis.c, the "sanecount" loop is not skipped
      when ((doingtics==0) && (isrc==0)), as I suspect should be the case.
      Not rendering or incrementing anything, the loop just runs till
      timeout and then throws an error.

      If this is what's causing it, fixing it should be easy. I'd try it
      myself, but not being familiar with the code, I have no idea if I can
      just reroute it like that.

      I hope this post doesn't fall in the "obvious" category, it seems
      trivial to point this bug out! ;-) Thanks for a GREAT program by the
      way, the versatility of Ploticus is really amazing.

      Cheers,
      --Alfred Klomp
      The Netherlands


      --- In ploticus@yahoogroups.com, "Stephen C. Grubb" <scg@...> wrote:
      >
      >
      > Hi, yes this occurred too with something I was doing, so I'll put it
      in as
      > a bug. There shouldn't be a "circuit breaker" message when no
      stubs/tics
      > are being generated.
      >
      > Steve
      >
      >
      > On Tue, 25 Oct 2005, dromeyn wrote:
      >
      > > I'm trying to plot a faded line graph on top of a bar graph that shows
      > > yesterdays data. The data format for today and yesterday are the
      > > same. For some reason, once I added the lineplot for yesterday's
      > > data, I started getting the "circuit breaker" messages about too many
      > > tics or stubs. I was able to get around this by using the no limit
      > > option, but I'm just not sure (and I'm curious) as to why it's
      > > necessary. Maybe I'm doing something incorrectly?
      > >
      > > This is the section that adds yesterday's lineplot. I'm not posting
      > > the entire file because it's huge. I'm generating a total of 4 graphs
      > > in one png. There are a total of 700 lines of data (yesterday+today).
      > >
      > >
      > > #proc areadef
      > > rectangle: .6 4.2 7.2 4.8
      > > xscaletype: datetime mm/dd/yy.hh:mm
      > > xrange: @yesterday.07:00 @yesterday.19:00
      > > yautorange: datafields=A,B nearest=100 lowfix=0
      > > xaxis.stubs: none
      > > xaxis.tics: none
      > > yaxis.stubs: none
      > > yaxis.tics: none
      > > yaxis.nolimit: yes
      > >
      > > #proc lineplot
      > > yfield: A
      > > xfield: timestamp
      > > linedetails: color=gray(0.8) style=2 width=0.1
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      >
      >
      > Stephen C. Grubb scg@... x-6633
      > Scientific Software Engineer, The Jackson Laboratory
      > 600 Main Street Bar Harbor, Maine 04609 USA
      >
    • Stephen C. Grubb
      Alfred, thanks, this will be helpful. Hopefully this issue can be laid to rest in the next release. -Steve ... Stephen C. Grubb scg@jax.org
      Message 2 of 6 , Apr 7, 2006
      • 0 Attachment
        Alfred, thanks, this will be helpful. Hopefully this issue can be laid to
        rest in the next release. -Steve


        On Thu, 6 Apr 2006, alfredklomp wrote:

        > Hi, I run Ploticus 2.32 on Linux, and today I encountered this same
        > problem. I wanted to draw a plain axis, a single line with no tics or
        > stubs:
        >
        > //----------------
        > #proc yaxis
        > axisline: width=0.5
        > stubs: none
        > tics: none
        > location: 100(s)
        > //----------------
        >
        > The result is an error 5729, circuit breaker tripped.
        >
        > I'm no programmer and not too familiar with the Ploticus codebase, but
        > with the little knowledge of C that I have, I think I've tracked down
        > the problem.
        >
        > My hypothesis: in proc_axis.c, the "sanecount" loop is not skipped
        > when ((doingtics==0) && (isrc==0)), as I suspect should be the case.
        > Not rendering or incrementing anything, the loop just runs till
        > timeout and then throws an error.
        >
        > If this is what's causing it, fixing it should be easy. I'd try it
        > myself, but not being familiar with the code, I have no idea if I can
        > just reroute it like that.
        >
        > I hope this post doesn't fall in the "obvious" category, it seems
        > trivial to point this bug out! ;-) Thanks for a GREAT program by the
        > way, the versatility of Ploticus is really amazing.
        >
        > Cheers,
        > --Alfred Klomp
        > The Netherlands
        >
        >
        > --- In ploticus@yahoogroups.com, "Stephen C. Grubb" <scg@...> wrote:
        > >
        > >
        > > Hi, yes this occurred too with something I was doing, so I'll put it
        > in as
        > > a bug. There shouldn't be a "circuit breaker" message when no
        > stubs/tics
        > > are being generated.
        > >
        > > Steve
        > >
        > >
        > > On Tue, 25 Oct 2005, dromeyn wrote:
        > >
        > > > I'm trying to plot a faded line graph on top of a bar graph that shows
        > > > yesterdays data. The data format for today and yesterday are the
        > > > same. For some reason, once I added the lineplot for yesterday's
        > > > data, I started getting the "circuit breaker" messages about too many
        > > > tics or stubs. I was able to get around this by using the no limit
        > > > option, but I'm just not sure (and I'm curious) as to why it's
        > > > necessary. Maybe I'm doing something incorrectly?
        > > >
        > > > This is the section that adds yesterday's lineplot. I'm not posting
        > > > the entire file because it's huge. I'm generating a total of 4 graphs
        > > > in one png. There are a total of 700 lines of data (yesterday+today).
        > > >
        > > >
        > > > #proc areadef
        > > > rectangle: .6 4.2 7.2 4.8
        > > > xscaletype: datetime mm/dd/yy.hh:mm
        > > > xrange: @yesterday.07:00 @yesterday.19:00
        > > > yautorange: datafields=A,B nearest=100 lowfix=0
        > > > xaxis.stubs: none
        > > > xaxis.tics: none
        > > > yaxis.stubs: none
        > > > yaxis.tics: none
        > > > yaxis.nolimit: yes
        > > >
        > > > #proc lineplot
        > > > yfield: A
        > > > xfield: timestamp
        > > > linedetails: color=gray(0.8) style=2 width=0.1
        > > >
        > > >
        > > >
        > > >
        > > >
        > > >
        > > >
        > > > Yahoo! Groups Links
        > > >
        > > >
        > > >
        > > >
        > > >
        > > >
        > > >
        > >
        > >
        > > Stephen C. Grubb scg@... x-6633
        > > Scientific Software Engineer, The Jackson Laboratory
        > > 600 Main Street Bar Harbor, Maine 04609 USA
        > >
        >
        >
        >
        >
        >
        >
        >
        >
        >
        > Yahoo! Groups Links
        >
        >
        >
        >
        >
        >
        >


        Stephen C. Grubb scg@... x-6633
        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.