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


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

Re: How to generate dotted lines?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Jörg Buchholz <bookwood4new@freenet.de>
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> (permalink)
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
Xref csiph.com comp.graphics.apps.gnuplot:4314

Show key headers only | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to generate dotted lines? Bengt T <bengt_tornqvist@hotmail.com> - 2020-04-01 06:42 -0700
  Re: How to generate dotted lines? Karl Ratzsch <mail.kfr@gmx.net> - 2020-04-01 23:56 +0200
    Re: How to generate dotted lines? Bengt T <bengt_tornqvist@hotmail.com> - 2020-04-02 01:06 -0700
      Re: How to generate dotted lines? Jörg Buchholz <bookwood4new@freenet.de> - 2020-04-02 11:53 +0200
        Re: How to generate dotted lines? Bengt T <bengt_tornqvist@hotmail.com> - 2020-04-02 08:45 -0700
          Re: How to generate dotted lines? Jörg Buchholz <bookwood4new@freenet.de> - 2020-04-02 20:08 +0200
        Re: How to generate dotted lines? Bengt T <bengt_tornqvist@hotmail.com> - 2020-04-02 08:58 -0700

csiph-web