Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3555
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jörg Buchholz <bookwood4new@freenet.de> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: redefine Linetype -1 and 0 |
| Date | Fri, 10 Feb 2017 12:49:39 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 41 |
| Message-ID | <o7k997$opg$1@dont-email.me> (permalink) |
| References | <o7bpsa$ao4$1@dont-email.me> <o7ibs0$uss$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Fri, 10 Feb 2017 11:47:51 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="3691e31816c574434a327d4cb93811e0"; logging-data="25392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19V+8qAjm0tPaJTSY+qM0k97Sl/sa9xXWc=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 |
| In-Reply-To | <o7ibs0$uss$1@dont-email.me> |
| Cancel-Lock | sha1:S/IYnLIjlbIxqZkno+wA8dGwfhY= |
| Xref | csiph.com comp.graphics.apps.gnuplot:3555 |
Show key headers only | View raw
Hi Ethan, thank you for your detailed answer. I hope that I can keep it in mind for newer scripts. On 09.02.2017 19:21, Ethan A Merritt wrote: > Jörg Buchholz wrote: > >> is there a way to redefine the linetypes -1 and 0? I have a very old >> gnuplot script (RRSB Diagram) with lot of lines with lt -1 and lt 0. > > Older versions of gnuplot allowed only very coarse control over color > and dashtype. When setting the terminal type you had to choose between > color/monochrome and solid/dashed for the entire terminal session. > This choice affected all normal linetypes and pointtypes. > > Since any normal linetype would then have a different result depending > on your current terminal session, the program provided the special > linetypes -1 and 0. Linetype -1 was guaranteed to be a solid black > line no matter whether the terminal session was set to "color" or > "dashed". Linetype 0 was guaranteed to be dotted (if possible on > that output device) even if the current terminal setting was "solid". > > Current gnuplot allows individual control over line colors and dash > patterns at all times so in new scripts it is not strictly necessary > to resort to linetypes -1 or 0. Nevertheless they are still recognized > for backwards compatibility with older scripts. By the way even though > "lt -1" is still recognized it now has a synomym "lt black". It would > be weird to accept a command of the form "set linetype black lc 'green'". > > Ethan > >> The "set linetype" command works only with lt > 0 >> >> I will change the linewidth and the dashtype to get a better printout. >> For a first solution I change the linewidth in the terminal. >> >> Jörg >
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
redefine Linetype -1 and 0 Jörg Buchholz <bookwood4new@freenet.de> - 2017-02-07 07:37 +0100
Re: redefine Linetype -1 and 0 Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-02-09 10:21 -0800
Re: redefine Linetype -1 and 0 Jörg Buchholz <bookwood4new@freenet.de> - 2017-02-10 12:49 +0100
csiph-web