Help with graph 0----0 centre line

Moderator: Mattk

Post Reply
binbags
Expert Boarder
Expert Boarder
Posts: 121
Joined: Tue Nov 06, 2007 9:25 am
Location: Glossop, UK

Help with graph 0----0 centre line

Post by binbags »

Hi

Does anyone know the format command to increase the boldness of the zero line in the graph display section, also if possible change the colour of this line, to something eyecatching?:unsure:

This is for my own use.

Thanks
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re:Help with graph 0----0 centre line

Post by wfpost »

There´s a command called set zeroaxis:
reference

If I enter this command into the format line of meteohubs graph section the zero axis is drawn in blue color.
set zeroaxis 3

Any other number from 3 gives the line a different color.
e.g.: 1 colors it red!

It seems thicker zero axis lines are not possible, but
that´s the result on one of my outputs and at least for me the zero axis is more eyecatching ;)

Image

>>>
zeroaxis

The x axis may be drawn by set xzeroaxis and removed by set noxzeroaxis. Similar commands behave similarly for the y, x2, and y2 axes.

Syntax:

set zeroaxis {<linetype>}
set xzeroaxis {<linetype>}
set yzeroaxis {<linetype>}
set x2zeroaxis {<linetype>}
set y2zeroaxis {<linetype>}
set nozeroaxis
set noxzeroaxis
etc.
show zeroaxis
show xzeroaxis
etc.

By default, these options are off. The selected zero axis is drawn with a line of type <linetype> from the default linetype list provided by the terminal; user-defined linetypes (via the set linestyle command) are not accessible for these axes. If <linetype> is not specified, any zero axes selected will be drawn using the axis linetype (linetype 0).

set zeroaxis l is equivalent to set xzeroaxis l; set yzeroaxis l. set nozeroaxis is equivalent to set noxzeroaxis; set noyzeroaxis.
binbags
Expert Boarder
Expert Boarder
Posts: 121
Joined: Tue Nov 06, 2007 9:25 am
Location: Glossop, UK

Re:Help with graph 0----0 centre line

Post by binbags »

Hi wfpost
Thanks very much for you responce to my request. I am not very familiar with gnuplot commands. So you have been a great help.

I will experiment Thursday night.
Post Reply