Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3373

Re: Can't draw dashed lines in cygwin X11

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: Can't draw dashed lines in cygwin X11
Date Fri, 22 Jul 2016 22:59:29 +0200
Organization A noiseless patient Spider
Lines 39
Message-ID <nmu1fi$jg3$1@dont-email.me> (permalink)
References <fb047a10-7e12-452f-b1f8-4bdeea381cdd@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding quoted-printable
Injection-Date Fri, 22 Jul 2016 20:59:30 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="ae4d6a228495e121a7500248ab95f46e"; logging-data="19971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bYzUcq3YgXR4khILW4HtuVwCykCA0fEg="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
In-Reply-To <fb047a10-7e12-452f-b1f8-4bdeea381cdd@googlegroups.com>
Cancel-Lock sha1:NbXBqvyvzfNmNgMeVx+A4m9k0hM=
Xref csiph.com comp.graphics.apps.gnuplot:3373

Show key headers only | View raw


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 | NextPrevious in thread | Find similar


Thread

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