Users are sometimes unhappy with gnuplot's default set of linetypes.
Some reasons given are
- need to match style requirements of a surrounding document
- the default sequence is unfriendly to color-blind audiences
- different terminals do not match in color sequence
- personal taste
To some extent you have been able to overcome this by defining custom line
styles, but this required giving an explicit line style for each plot and
did not work for auto-generated linetypes such as contour lines. Version
4.2 offered a rather cryptic option to work around this, "set style
increment user", but it has a number of limitations. For example, line
style definitions are lost after each "reset", and use of this option
doesn't mix well with older scripts that use line styles already for a
separate purpose.
This patchset implements a more complete approach. It allows users to
redefine the base linetypes. The redefinitions are persistent; i.e. they
are not affected by "reset". The command options are identical to those
for "set style line".
For example:
set linetype 1 lw 2 lc rgb "blue" pointtype 6
set linetype 2 lw 2 lc rgb "forest-green" pt 8
Everywhere that uses lt 1 will now get a thick blue line rather than a thin
red line (the existing unchangeable meaning of lt 1). This includes
further modifications such as linestyles.
Continuing the example, suppose you have an existing script that contains
set style line 3 lt 1 pointtype 3
plot foo with linespoints ls 3, baz with lines lt 1
Before you would have gotten two thin red lines, one with stars; now you
will get two thick blue lines, one with stars.
Nobody/Anonymous
None
None
Public
|
Date: 2009-12-31 22:33 Added a new command |
|
Date: 2009-12-30 23:19 Update to apply against current CVS |
|
Date: 2009-12-07 04:55 Update to apply against current CVS. |
|
Date: 2009-06-01 05:00 In preparation for eventual release of gnuplot version 4.4, existing bugs |
|
Date: 2008-08-18 07:29
|
|
Date: 2008-08-18 06:27
|
|
Date: 2008-07-10 18:56
|
|
Date: 2008-07-10 18:03
|
|
Date: 2008-06-27 23:12
|
|
Date: 2008-06-27 23:10
|
|
Date: 2008-06-27 23:10
|
|
Date: 2008-06-27 23:08
|
| Filename | Description | Download |
|---|---|---|
| linetypes_31dec2009.patch | user-defined linetypes | Download |
| tango_colors.gnuplot | colors from the tango desktop theme | Download |
| .gnuplot | suggested .gnuplot file for testing | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Deleted | 357215: | 2009-12-31 22:34 | sfeam |
| File Added | 357283: linetypes_31dec2009.patch | 2009-12-31 22:34 | sfeam |
| close_date | - | 2009-12-31 22:33 | sfeam |
| resolution_id | None | 2009-12-31 22:33 | sfeam |
| status_id | Open | 2009-12-31 22:33 | sfeam |
| File Added | 357215: linetypes_30dec2009.patch | 2009-12-30 23:20 | sfeam |
| File Deleted | 354166: | 2009-12-30 23:20 | sfeam |
| File Added | 354167: tango_colors.gnuplot | 2009-12-07 04:56 | sfeam |
| File Added | 354166: linetypes_all_06dec2009.patch | 2009-12-07 04:55 | sfeam |
| File Deleted | 329233: | 2009-12-07 04:53 | sfeam |
| File Deleted | 329232: | 2009-12-07 04:53 | sfeam |
| File Deleted | 329231: | 2009-12-07 04:53 | sfeam |
| File Deleted | 329230: | 2009-12-07 04:53 | sfeam |
| File Deleted | 353090: | 2009-12-07 04:53 | sfeam |
| File Added | 353090: linetypes_all_29nov2009.patch | 2009-11-30 07:08 | sfeam |
| File Deleted | 282985: | 2009-06-01 18:32 | sfeam |
| File Added | 329233: linetype_part4_01jun2009.patch | 2009-06-01 18:32 | sfeam |
| File Deleted | 282984: | 2009-06-01 18:31 | sfeam |
| File Added | 329232: linetype_part3_01jun2009.patch | 2009-06-01 18:31 | sfeam |
| File Added | 329231: linetype_part2_01jun2009.patch | 2009-06-01 18:30 | sfeam |
| File Deleted | 282983: | 2009-06-01 18:30 | sfeam |
| File Deleted | 282982: | 2009-06-01 18:29 | sfeam |
| File Added | 329230: linetype_part1_01jun2009.patch | 2009-06-01 18:29 | sfeam |
| priority | 5 | 2009-06-01 05:00 | sfeam |
| File Added | 282986: .gnuplot | 2008-06-27 23:12 | sfeam |
| File Added | 282985: linetype_part4_25jun2008.patch | 2008-06-27 23:10 | sfeam |
| File Added | 282984: linetype_part3_23jun2008.patch | 2008-06-27 23:10 | sfeam |
| File Added | 282983: linetype_part2_24jun2008.patch | 2008-06-27 23:08 | sfeam |
| File Added | 282982: linetype_part1_24jun2008.patch | 2008-06-27 23:07 | sfeam |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use