Pressure graph inHg scale is too large

34 views
Skip to first unread message

Joe Martin

unread,
Sep 27, 2012, 9:46:41 PM9/27/12
to wfrog...@googlegroups.com
Hi all,
First off, thanks to everyone for putting this tool together.

When I have wfrog set to output pressure data in mmHg, the pressure graph's y-axis range is about 6 mm, which gives a detailed graph.  However, when I set the output units to inHg the graph's y-axis range is 2 inches, which makes all the small variations in pressure data impossible to see.  Is there any way of setting the graph to display with a shorter y-axis scale (more like 0.5 inHg maybe?) when pressure is fairly constant?  I've attached images to illustrate.

Thanks again,

Joe
pressure in inHg.jpg
pressure in mmHg.jpg

Jordi Puigsegur Figueras

unread,
Oct 8, 2012, 3:34:27 PM10/8/12
to wfrog...@googlegroups.com
Hi,

This is related with the ymargin parameter of the chart element. By default it is set to [1, 1] which means that the y axis will go from min(graph) -1 to max(graph) + 1. Obviously when dealing with inches this is not a good value. You can change this value in (/etc/wfrog/wfrender/config/default/charts.yaml).

It would also make sense to have this value set up dependent on units or calculated by percentage. Anyway, you can open an issue to try to solve it more permanently.

Jordi.

2012/9/28 Joe Martin <joem...@gmail.com>
Reply all
Reply to author
Forward
0 new messages