List Info

Thread: Y range on the graphs




Y range on the graphs
user name
2006-07-21 20:29:52
Is there a way to get the Y axis on the graphs to not start
at 0? I am graphing temperature that doesn't stray to far
from the medium maybe +/- 5 degrees. So I want the Y axis to
start at 60 degrees and let the max float.
____________________________________________________________
_____
Express yourself: design your homepage the way you want it
with Live.com.
http://www.live.com/ge
tstarted
--
Unsubscribe mailto:mrtg-requestlist.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/
mrtg
FAQ         http://faq.mrtg.org   
Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz
.ch/lsg2.cgi

Y range on the graphs
user name
2006-07-23 23:13:23
> Is there a way to get the Y axis on the graphs to not
start 
> at 0? I am graphing temperature that doesn't stray to
far 
> from the medium maybe +/- 5 degrees. So I want the Y
axis to 
> start at 60 degrees and let the max float.

Yes.  If you are calling RRDTool directly, there are various
options to
set the Y-axis - you can read the RRDTool documentation for
this.

If you use routers2 as your frontend, then you can pass
these options in
the .cfg file.  Make sure you have routers.cgi v2.16b7 or
later for
this.

routers.cgi*LowerLimit[xxx]: 5
routers.cgi*UpperLimit[xxx]: 15

will give you a graph with y-range from 5 to 15.  You can
also add

routers.cgi*Options[xxx]: rigid unscaled

to make this a hard limit (IE, it won't show outside this
range even if
the data lies outside it).

Steve

--
Unsubscribe mailto:mrtg-requestlist.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/
mrtg
FAQ         http://faq.mrtg.org   
Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz
.ch/lsg2.cgi

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )