difference of min- and max-value

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Sten
Posts: 1
Joined: Wed Aug 22, 2007 3:29 pm

difference of min- and max-value

Post by Sten »

Hi,

I need to get the difference of the min- and max-value (=max-min) of the printed graph. I want to give it out by using GPRINT-item. Do I have to use these CEDF's. I've tried a lot, but without any success.

Has anyone an idea ?
Thanks for your help.

Sten
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

NP. Please create a graph template. Add the MAX ds as a first graph item. Then add the MIN ds as a second one. Now create a CDEF=a,b,-.
Last step: Add a third graph item freferring to no data source but referring to the CDEF.
That's it.
You may want to "suppress" display and scaling of MIN, MAX. To do so, apply another CDEF=CURRENT_DATA_SOURCE,0,* to both of them.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests