[rrd-users] rrdtool graph -w/-h

Tobias Oetiker tobi at oetiker.ch
Thu Dec 8 23:46:55 CET 2011

Hi Sbnm,

Today Shabnam Shahreza wrote:

> Good day everyone;
> Just wondering if you have experienced using "-w" or "-h" with
> "rrdtool graph" and getting different graphs.... I do several
> calculations and the graph I draw with default values (-w=400
> pixels and -h=100 pixels) is different from the graph with other
> pixel numbers....

the data gets re-sampled at the pixel resolution using the
consolidation function associated with the data at hand ...

if you change the size, a different number of data points will fall
into a pixel ...

> I appreciate any hint on this.
> Regards;
> Sbnm
> Before printing, think about the environment
> ________________________________
> The information in this email is confidential and may be subject to solicitor-client privilege and laws relating to intellectual property. The information contained in this e-mail is intended solely for the addressee(s) and access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately and delete this email from your system without making a copy. You should not copy, use or disseminate the information contained in the email. Any views expressed in this email are those of the individual sender, and, except where the sender specifically indicates, do not reflect the views of Alpha Trading Systems Limited Partnership, its subsidiaries, affiliates, partners, directors, officers or employees.

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900

More information about the rrd-users mailing list