Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Due to lack of disk space, this fortune database has been discontinued.


computers / comp.graphics.apps.gnuplot / How to generate dotted lines?

SubjectAuthor
* How to generate dotted lines?Bengt T
`* Re: How to generate dotted lines?Karl Ratzsch
 `* Re: How to generate dotted lines?Bengt T
  `* Re: How to generate dotted lines?Jörg_Buchholz
   +* Re: How to generate dotted lines?Bengt T
   |`- Re: How to generate dotted lines?Jörg_Buchholz
   `- Re: How to generate dotted lines?Bengt T

1
Subject: How to generate dotted lines?
From: Bengt T
Newsgroups: comp.graphics.apps.gnuplot
Date: Wed, 1 Apr 2020 13:42 UTC
X-Received: by 2002:a37:a915:: with SMTP id s21mr10168520qke.436.1585748550078;
Wed, 01 Apr 2020 06:42:30 -0700 (PDT)
X-Received: by 2002:aca:5712:: with SMTP id l18mr2830128oib.178.1585748549763;
Wed, 01 Apr 2020 06:42:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Wed, 1 Apr 2020 06:42:29 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=193.181.35.198; posting-account=rPxKYAkAAACZL9Ia3g3cZHelK-_cv8q3
NNTP-Posting-Host: 193.181.35.198
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com>
Subject: How to generate dotted lines?
From: bengt_to...@hotmail.com (Bengt T)
Injection-Date: Wed, 01 Apr 2020 13:42:30 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 5
View all headers

Width gnuplot 5.2 I wish to generate plots into png files.

I succeed in changing line colors and widths for continuous lines. However not to generate dotted lines.

Is this not implemented for png outputs or what am i missing?


Subject: Re: How to generate dotted lines?
From: Karl Ratzsch
Newsgroups: comp.graphics.apps.gnuplot
Organization: solani.org
Date: Wed, 1 Apr 2020 21:56 UTC
References: 1
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mail....@gmx.net (Karl Ratzsch)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: How to generate dotted lines?
Date: Wed, 1 Apr 2020 23:56:58 +0200
Organization: solani.org
Message-ID: <r632nb$djr$1@solani.org>
References: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 1 Apr 2020 21:56:59 -0000 (UTC)
Injection-Info: solani.org;
logging-data="13947"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
Cancel-Lock: sha1:e25a3PqfKyzs2iAZA9Zjp5Uzf3E=
X-User-ID: eJwNysEBwCAIA8CVjE0QxkGU/Ueo9z59BqtFk1GtDp952CWPwtzqXQkOAK+c8PUGkXEZdq+NHxheELQ=
In-Reply-To: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com>
Content-Language: de-DE
View all headers
Am 01.04.2020 um 15:42 schrieb Bengt T:
I succeed in changing line colors and widths for continuous lines. However not to generate dotted lines.

Is this not implemented for png outputs or what am i missing?


Does "dashtype"

     plot x**2 w l dt 0

not give what you´re looking for? You see more dashtypes with the
"test" command.

    Karl





Subject: Re: How to generate dotted lines?
From: Bengt T
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 2 Apr 2020 08:06 UTC
References: 1 2
X-Received: by 2002:a37:6215:: with SMTP id w21mr2248629qkb.149.1585814797485;
Thu, 02 Apr 2020 01:06:37 -0700 (PDT)
X-Received: by 2002:a9d:6b98:: with SMTP id b24mr1394446otq.242.1585814797213;
Thu, 02 Apr 2020 01:06:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder7.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 2 Apr 2020 01:06:36 -0700 (PDT)
In-Reply-To: <r632nb$djr$1@solani.org>
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=193.181.35.200; posting-account=rPxKYAkAAACZL9Ia3g3cZHelK-_cv8q3
NNTP-Posting-Host: 193.181.35.200
References: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com> <r632nb$djr$1@solani.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a20bd865-e6ec-464e-8475-ad50932aa7ae@googlegroups.com>
Subject: Re: How to generate dotted lines?
From: bengt_to...@hotmail.com (Bengt T)
Injection-Date: Thu, 02 Apr 2020 08:06:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
View all headers


Does "dashtype"

     plot x**2 w l dt 0

not give what you´re looking for? You see more dashtypes with the
"test" command.

    Karl

Yes it works for dt -1 and dt 0. However still not for dt 1 to dt 19 of the rightmost part of the "test" command.


Subject: Re: How to generate dotted lines?
From: Jörg_Buchholz
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Thu, 2 Apr 2020 09:53 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bookwood...@freenet.de (Jörg_Buchholz)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: How to generate dotted lines?
Date: Thu, 2 Apr 2020 11:53:06 +0200
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <r64clu$k8q$1@dont-email.me>
References: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com>
<r632nb$djr$1@solani.org>
<a20bd865-e6ec-464e-8475-ad50932aa7ae@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Apr 2020 09:53:03 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="28039610de0762a1f085a90d72437998";
logging-data="20762"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18G0dlqNstk0CNM+SPUPLWGJz+fvMFjLnA="
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
Cancel-Lock: sha1:4xtlP8zPmMtg7BzZHfk8zvwLwHg=
In-Reply-To: <a20bd865-e6ec-464e-8475-ad50932aa7ae@googlegroups.com>
Content-Language: en-GB
View all headers
On 02.04.2020 10:06, Bengt T wrote:


Does "dashtype"

     plot x**2 w l dt 0

not give what you´re looking for? You see more dashtypes with the
"test" command.

    Karl

Yes it works for dt -1 and dt 0. However still not for dt 1 to dt 19 of the rightmost part of the "test" command.


Which terminal do you use? The pngcairo terminal is the good one for png
output.


set term pngcairo size 1200,900
set out 'dt.png'
plot for [i=1:20] sin(x+i) w l dt i t "dt".i
set out


Jörg


Subject: Re: How to generate dotted lines?
From: Bengt T
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 2 Apr 2020 15:45 UTC
References: 1 2 3 4
X-Received: by 2002:ad4:4088:: with SMTP id l8mr3911406qvp.34.1585842341899;
Thu, 02 Apr 2020 08:45:41 -0700 (PDT)
X-Received: by 2002:a9d:1786:: with SMTP id j6mr2772521otj.235.1585842341643;
Thu, 02 Apr 2020 08:45:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 2 Apr 2020 08:45:41 -0700 (PDT)
In-Reply-To: <r64clu$k8q$1@dont-email.me>
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=193.181.35.200; posting-account=rPxKYAkAAACZL9Ia3g3cZHelK-_cv8q3
NNTP-Posting-Host: 193.181.35.200
References: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com>
<r632nb$djr$1@solani.org> <a20bd865-e6ec-464e-8475-ad50932aa7ae@googlegroups.com>
<r64clu$k8q$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e661f66c-476e-4806-978d-fef55a84257a@googlegroups.com>
Subject: Re: How to generate dotted lines?
From: bengt_to...@hotmail.com (Bengt T)
Injection-Date: Thu, 02 Apr 2020 15:45:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 15
View all headers



set term pngcairo size 1200,900
set out 'dt.png'
plot for [i=1:20] sin(x+i) w l dt i t "dt".i
set out


Jörg

Works fine with datatype 1 to 5. dt 1 to 5 lines are repeated, with other colors, for dt 6 to 20.

How to generate lines with symbols according to the right hand side of the "test" output?


Subject: Re: How to generate dotted lines?
From: Bengt T
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 2 Apr 2020 15:58 UTC
References: 1 2 3 4
X-Received: by 2002:ac8:76c4:: with SMTP id q4mr3653072qtr.375.1585843127253; Thu, 02 Apr 2020 08:58:47 -0700 (PDT)
X-Received: by 2002:aca:fd09:: with SMTP id b9mr2793746oii.88.1585843126525; Thu, 02 Apr 2020 08:58:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!peer02.am4!peer.am4.highwinds-media.com!news.highwinds-media.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Thu, 2 Apr 2020 08:58:46 -0700 (PDT)
In-Reply-To: <r64clu$k8q$1@dont-email.me>
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=193.181.35.200; posting-account=rPxKYAkAAACZL9Ia3g3cZHelK-_cv8q3
NNTP-Posting-Host: 193.181.35.200
References: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com> <r632nb$djr$1@solani.org> <a20bd865-e6ec-464e-8475-ad50932aa7ae@googlegroups.com> <r64clu$k8q$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <145438b9-22e3-4065-8812-b3aa0fc6aa28@googlegroups.com>
Subject: Re: How to generate dotted lines?
From: bengt_to...@hotmail.com (Bengt T)
Injection-Date: Thu, 02 Apr 2020 15:58:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 12
X-Received-Bytes: 1537
X-Received-Body-CRC: 2043497362
View all headers


set term pngcairo size 1200,900
set out 'dt.png'
plot for [i=1:20] sin(x+i) w l dt i t "dt".i
set out


Jörg

Works fine.

Thank you all who contributed.


Subject: Re: How to generate dotted lines?
From: Jörg_Buchholz
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Thu, 2 Apr 2020 18:08 UTC
References: 1 2 3 4 5
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bookwood...@freenet.de (Jörg_Buchholz)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: How to generate dotted lines?
Date: Thu, 2 Apr 2020 20:08:27 +0200
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <r659mr$4lb$1@dont-email.me>
References: <c90c1740-66cc-426f-9592-95653b1122d0@googlegroups.com>
<r632nb$djr$1@solani.org>
<a20bd865-e6ec-464e-8475-ad50932aa7ae@googlegroups.com>
<r64clu$k8q$1@dont-email.me>
<e661f66c-476e-4806-978d-fef55a84257a@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Apr 2020 18:08:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="171e4ddae68a19f8d9776d4f506fa304";
logging-data="4779"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ANijrSYeNpR9KyhswnXuTSniV/LFqNzk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
Cancel-Lock: sha1:Wh4H6R0LbgU3v9wiPFiWkbQzd9I=
In-Reply-To: <e661f66c-476e-4806-978d-fef55a84257a@googlegroups.com>
Content-Language: en-GB
View all headers
On 02.04.20 17:45, Bengt T wrote:



set term pngcairo size 1200,900
set out 'dt.png'
plot for [i=1:20] sin(x+i) w l dt i t "dt".i
set out


Jörg

Works fine with datatype 1 to 5. dt 1 to 5 lines are repeated, with other colors, for dt 6 to 20.

How to generate lines with symbols according to the right hand side of the "test" output?


There are only 5 different dashtypes predefined. You can add more by
your own. See "help dashtype".

Examples:
plot f(x) dt 3            # use terminal-specific dash pattern 3
plot f(x) dt ".. "        # construct a dash pattern on the spot
plot f(x) dt (2,5,2,15)   # numerical representation of the same pattern
set dashtype 11 (2,4,4,7) # define new dashtype to be called by index
plot f(x) dt 11           # plot using our new dashtype

Jörg


1
rocksolid light 0.7.2
clearneti2ptor