Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1934 > unrolled thread
| Started by | Michael <proximum@land.ru> |
|---|---|
| First post | 2013-07-11 14:15 +0700 |
| Last post | 2013-07-11 15:38 +0700 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
eps terminal; set style line doesn't work Michael <proximum@land.ru> - 2013-07-11 14:15 +0700
Re: eps terminal; set style line doesn't work Christoph Bersch <usenet@bersch.net> - 2013-07-11 09:34 +0200
Re: eps terminal; set style line doesn't work Christoph Bersch <usenet@bersch.net> - 2013-07-11 10:10 +0200
Re: eps terminal; set style line doesn't work Michael <proximum@land.ru> - 2013-07-11 15:38 +0700
| From | Michael <proximum@land.ru> |
|---|---|
| Date | 2013-07-11 14:15 +0700 |
| Subject | eps terminal; set style line doesn't work |
| Message-ID | <krlln3$35p$1@dont-email.me> |
Hello, I need to plot curves with one line style but different point styles. set style line 11 lt 1 lw 3 pt 1 set style line 12 lt 1 lw 3 pt 2 set style line 13 lt 1 lw 3 pt 3 set style line 14 lt 1 lw 3 pt 4 set style line 15 lt 1 lw 3 pt 5 set style line 16 lt 1 lw 3 pt 6 set style line 17 lt 1 lw 3 pt 7 ... plot [][3.04533333333333:10.4346666666667] for [i=1:7] 'tests.dat' \ every :::4::4 using 1:i+1 lt i+10 lw 3 ps 2 t word(elements,i) w linesp All line types are different. How to do what I wrote above for the eps terminal? Thanks, Michael.
[toc] | [next] | [standalone]
| From | Christoph Bersch <usenet@bersch.net> |
|---|---|
| Date | 2013-07-11 09:34 +0200 |
| Message-ID | <krlms4$6sq$1@dont-email.me> |
| In reply to | #1934 |
Hi, Am 11.07.2013 09:15, schrieb Michael: > > set style line 11 lt 1 lw 3 pt 1 ... > plot [][3.04533333333333:10.4346666666667] for [i=1:7] 'tests.dat' \ > every :::4::4 using 1:i+1 lt i+10 lw 3 ps 2 t word(elements,i) w linesp if you want to use a line _style_, you should also specify this ;-) -> ls i+10 (instead of lt i+10) Christoph
[toc] | [prev] | [next] | [standalone]
| From | Christoph Bersch <usenet@bersch.net> |
|---|---|
| Date | 2013-07-11 10:10 +0200 |
| Message-ID | <krlou4$hej$1@dont-email.me> |
| In reply to | #1935 |
In the following example I see a difference between 'lt i+10' and 'ls +10': reset set terminal postscript eps color set output 'scan-ls.eps' set style line 11 lt 1 lw 3 pt 1 set style line 12 lt 1 lw 3 pt 2 set style line 13 lt 1 lw 3 pt 3 set style line 14 lt 1 lw 3 pt 4 set style line 15 lt 1 lw 3 pt 5 set style line 16 lt 1 lw 3 pt 6 set style line 17 lt 1 lw 3 pt 7 set multiplot layout 1,2 plot for [i=1:2] sin(0.5*i*x) lt i+10 w lp plot for [i=1:2] sin(0.5*i*x) ls i+10 w lp unset multiplot Christoph
[toc] | [prev] | [next] | [standalone]
| From | Michael <proximum@land.ru> |
|---|---|
| Date | 2013-07-11 15:38 +0700 |
| Message-ID | <krlqk4$p76$1@dont-email.me> |
| In reply to | #1936 |
11.07.2013 15:10, Christoph Bersch пишет: > In the following example I see a difference between 'lt i+10' and 'ls +10': > > reset > set terminal postscript eps color > set output 'scan-ls.eps' > set style line 11 lt 1 lw 3 pt 1 > set style line 12 lt 1 lw 3 pt 2 > set style line 13 lt 1 lw 3 pt 3 > set style line 14 lt 1 lw 3 pt 4 > set style line 15 lt 1 lw 3 pt 5 > set style line 16 lt 1 lw 3 pt 6 > set style line 17 lt 1 lw 3 pt 7 > > set multiplot layout 1,2 > > plot for [i=1:2] sin(0.5*i*x) lt i+10 w lp > > plot for [i=1:2] sin(0.5*i*x) ls i+10 w lp > unset multiplot > > Christoph Thanks, it works.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web