Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3373
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Can't draw dashed lines in cygwin X11 |
| Date | 2016-07-22 22:59 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <nmu1fi$jg3$1@dont-email.me> (permalink) |
| References | <fb047a10-7e12-452f-b1f8-4bdeea381cdd@googlegroups.com> |
On 22.07.2016 03:41, ijung5399@gmail.com wrote: > I'm drawing multiple lines in a chart so dashed line option is required. > I started with 'startxwin' and I tried in a cygwin terminal with gnuplot 5.0 patchlevel 3. > My env is: CYGWIN_NT-6.1 MYCOM 2.5.2(0.297/5/3) 2016-06-23 14:29 x86_64 Cygwin > > I tested with one of internet example script but no luck: > ==== > set term x11 enhanced dashed "arial,16" > set notitle > set xlabel "x" > set ylabel "y" > set size square > set xrange [450:750] > set yrange [450:750] > set key inside top right > > set style line 1 lc rgb "#FF0055" lt 2 > set style line 2 lc rgb "#2C397D" lt 3 > > f(x) = x > g(x) = x + 100 > > plot f(x) ls 2 lw 3 notitle, g(x) ls 1 lw 1 notitle > > pause -1 > ==== > you must give a "dash type" in the plot command. use "test" to see the predefined dashed lines. example: plot f(x) ls 2 lw 3 dt 3 notitle, g(x) ls 1 lw 1 dt 5 notitle Jörg
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Can't draw dashed lines in cygwin X11 ijung5399@gmail.com - 2016-07-21 18:41 -0700 Re: Can't draw dashed lines in cygwin X11 Jörg Buchholz <bookwood4new@freenet.de> - 2016-07-22 22:59 +0200
csiph-web