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


Groups > comp.graphics.apps.gnuplot > #3085 > unrolled thread

How can I obtain a grid with dashed lines for the minor tics in PostScript?

Started byJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
First post2015-09-16 08:52 +0200
Last post2015-09-16 10:47 +0200
Articles 4 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  How can I obtain a grid with dashed lines for the minor tics in PostScript? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2015-09-16 08:52 +0200
    Re: How can I obtain a grid with dashed lines for the minor tics in PostScript? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2015-09-16 09:05 +0200
      Re: How can I obtain a grid with dashed lines for the minor tics in PostScript? Karl Ratzsch <mail.kfr@gmx.net> - 2015-09-16 09:48 +0200
        Re: How can I obtain a grid with dashed lines for the minor tics in PostScript? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2015-09-16 10:47 +0200

#3085 — How can I obtain a grid with dashed lines for the minor tics in PostScript?

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2015-09-16 08:52 +0200
SubjectHow can I obtain a grid with dashed lines for the minor tics in PostScript?
Message-ID<alpine.WNT.2.20.1509160836190.5824@dhcp3-6>
I say: set lt 1 lw 1  lc rgb "black"
set lt 2 lw .3 dt 3 lc rgb "black"
set grid xtics ytics mxtics mytics lt 1, lt 2

I obtain dotted lines on the screen but when I say set term post color enh, 
set out "stuff.ps", replot and convert the ps to pdf with ps2pdf I obtain full 
lines in this pdf. In older Gnuplot versions they dashed.

Can I work around?
-- 
Jean-Pierre Coulon

[toc] | [next] | [standalone]


#3086

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2015-09-16 09:05 +0200
Message-ID<alpine.WNT.2.20.1509160902490.5824@dhcp3-6>
In reply to#3085
On Wed, 16 Sep 2015, Jean-Pierre Coulon wrote:

> I obtain dotted lines on the screen but when I say set term post color enh, 
> set out "stuff.ps", replot and convert the ps to pdf with ps2pdf I obtain 
> full lines in this pdf. In older Gnuplot versions they dashed.

Sorry, they are dashed, but the dashes are very tiny!. I can't find any 
documentation about dash types.
-- 
Jean-Pierre Coulon

[toc] | [prev] | [next] | [standalone]


#3087

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2015-09-16 09:48 +0200
Message-ID<mtb6sq$3m1$1@solani.org>
In reply to#3086
Am 16.09.2015 um 09:05 schrieb Jean-Pierre Coulon:
> On Wed, 16 Sep 2015, Jean-Pierre Coulon wrote:
> 
>> I obtain dotted lines on the screen but when I say set term post color enh, 
>> set out "stuff.ps", replot and convert the ps to pdf with ps2pdf I obtain 
>> full lines in this pdf. In older Gnuplot versions they dashed.
> 
> Sorry, they are dashed, but the dashes are very tiny!. I can't find any 
> documentation about dash types.


Have you tried adjusting the dashlenght? It's a parameter to most
terminals, check "help postscript".

   set term postsc dashlength 2
   # or set termoption dashlength 2

doubles the length of the dash interval.

 K

[toc] | [prev] | [next] | [standalone]


#3088

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2015-09-16 10:47 +0200
Message-ID<alpine.WNT.2.20.1509161041120.5824@dhcp3-6>
In reply to#3087
On Wed, 16 Sep 2015, Karl Ratzsch wrote:

> Have you tried adjusting the dashlenght? It's a parameter to most
> terminals, check "help postscript".
>
>   set term postsc dashlength 2

Thanks. dashlength 10 does the job for me.
-- 
Jean-Pierre Coulon

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web