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


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

Re: How to generate dotted lines?

From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to generate dotted lines?
Date 2020-04-02 20:08 +0200
Organization A noiseless patient Spider
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>

Show all headers | 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