Hi,
is there any command which I can enter with the FORMAT field to get a thicker line?
Thanks,
Is there a command with the Format line to make thicker plot
Moderator: Mattk
Re:Is there a command with the Format line to make thicker p
It's somewhat complicated (but isn't everything in GNUplot!)
Basically you need to use the command set style line to define new line weights for all the lines you need to use, and then tell the graph command to use your custom definitions instead of the defaults. (See http://azog.bioinformatics.vt.edu:49280 ... de237.html for the help file.)
If your graph only has one line, then the following will make it twice as thick as the default settings:
For every additional line you have in a graph, you need to add an extra set style line n lw 2 into the code (where n increments up by one each time.) For instance for a graph with two lines:
Likewise, if you want a line that's three times thicker than the standard line change lw 2 to lw 3 (also note that decimal numbers work, so you can make a line 1.5 times thicker with lw 1.5, or half as thick with lw 0.5)
(Addendum: this format command should work for all display types within the scalar data graph type, so for the min-max-bar question below this is also applicable.)
Basically you need to use the command set style line to define new line weights for all the lines you need to use, and then tell the graph command to use your custom definitions instead of the defaults. (See http://azog.bioinformatics.vt.edu:49280 ... de237.html for the help file.)
If your graph only has one line, then the following will make it twice as thick as the default settings:
Code: Select all
set style line 1 lw 2|set style increment user
Code: Select all
set style line 1 lw 2|set style line 2 lw 2|set style increment user
Likewise, if you want a line that's three times thicker than the standard line change lw 2 to lw 3 (also note that decimal numbers work, so you can make a line 1.5 times thicker with lw 1.5, or half as thick with lw 0.5)
(Addendum: this format command should work for all display types within the scalar data graph type, so for the min-max-bar question below this is also applicable.)
Re:Is there a command with the Format line to make thicker p
thanks very much, your hints worked fine
The default line is very thin, but now it looks much better with my graphs :)
Cheers
The default line is very thin, but now it looks much better with my graphs :)
Cheers