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


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

colored lines after set term ... mono

Started byKarl <mail.kfr@gmx.net>
First post2013-05-31 20:32 +0200
Last post2013-06-04 08:44 -0700
Articles 5 — 2 participants

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


Contents

  colored lines after set term ... mono Karl <mail.kfr@gmx.net> - 2013-05-31 20:32 +0200
    Re: colored lines after set term ... mono Karl <mail.kfr@gmx.net> - 2013-05-31 20:37 +0200
    Re: colored lines after set term ... mono sfeam <sfeam@users.sourceforge.net> - 2013-05-31 15:02 -0700
      Re: colored lines after set term ... mono Karl <mail.kfr@gmx.net> - 2013-06-04 13:19 +0200
        Re: colored lines after set term ... mono sfeam <sfeam@users.sourceforge.net> - 2013-06-04 08:44 -0700

#1870 — colored lines after set term ... mono

FromKarl <mail.kfr@gmx.net>
Date2013-05-31 20:32 +0200
Subjectcolored lines after set term ... mono
Message-ID<kob1cc$rfc$1@news.rz.uni-karlsruhe.de>
Hi,

the release notes on 4.6.3 state

* FIX suppression of color in linetypes after "set term ... mono"

I don´t know what exactly was behind this, but the pdfcairo terminal
gives coloured lines if a lc is specified in the plot command

-----------
reset
set term push
set term pdfcair mono
set output "testmono.pdf"

plot x**2 lc 1

set output
set term pop
------------

gives a red line in the .pdf. That expected behaviour? (If the colour is
specified via "set linetype" it comes out in black allright.)

And what would you recommend to get different greyscale lines? Do it in
colour mode and specify grey RGBs ? I fear this might lead to problems
with bw printers?


 -- Karl

(gnuplot 4.6.3 official windows build)

[toc] | [next] | [standalone]


#1871

FromKarl <mail.kfr@gmx.net>
Date2013-05-31 20:37 +0200
Message-ID<kob1mg$rgm$1@news.rz.uni-karlsruhe.de>
In reply to#1870
Am 31.05.2013 20:32, schrieb Karl:

> I don´t know what exactly was behind this, but the pdfcairo terminal
> gives coloured lines if a lc is specified in the plot command

Just found that the postscript terminal does the same (although red and
dashed there), and the help there states that "monochrome" only changes
the palette, but woudn´t  alter the outcome of a explicitly specified
colour.

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


#1872

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-05-31 15:02 -0700
Message-ID<kob6e9$ipo$1@dont-email.me>
In reply to#1870
Karl wrote:

> And what would you recommend to get different greyscale lines? Do it in
> colour mode and specify grey RGBs ? I fear this might lead to problems
> with bw printers?
> 

There is a sample color definition file in the distribution:
  .../share/colors_mono.gp

This defines a set of black lines with varying width and dash pattern,
the old-style way of preparing figures for publication before halftone/color
press became common.

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


#1874

FromKarl <mail.kfr@gmx.net>
Date2013-06-04 13:19 +0200
Message-ID<kokph2$p4b$1@news.rz.uni-karlsruhe.de>
In reply to#1872
Am 01.06.2013 00:02, schrieb sfeam:

> the old-style way of preparing figures for publication before halftone/color
> press became common.
> 

Well, as you still get charged for having color figures in your
publications, the time of dashed and dotted lines is not yet over, i
think.

There´s only so many grey halftones that the human eye can distinguish
after they´ve been run through a windows printer driver and cheap gdi
laser (not to mention printed on recyled paper and afterwards stored on
the windowsill for six months).

;-)

Is there something on the development agenda to have a "linepattern"
plot option?

Best, Karl





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


#1875

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-06-04 08:44 -0700
Message-ID<kol1ou$f47$1@dont-email.me>
In reply to#1874
Karl wrote:

> Am 01.06.2013 00:02, schrieb sfeam:
> 
>> the old-style way of preparing figures for publication before
>> halftone/color press became common.
>> 
> 
> Well, as you still get charged for having color figures in your
> publications, the time of dashed and dotted lines is not yet over, i
> think.
> 
> There´s only so many grey halftones that the human eye can distinguish
> after they´ve been run through a windows printer driver and cheap gdi
> laser (not to mention printed on recyled paper and afterwards stored
> on the windowsill for six months).
> 
> ;-)
> 
> Is there something on the development agenda to have a "linepattern"
> plot option?

It's always been there, at least for terminal that support dashed lines.
The terminal option is {dashed|solid}.  In fact the postscript terminal
defaults to dashed lines, and has done so since the beginning. The other
terminals default to solid lines.  The appearance of the dash patterns
can be further adjusted using the terminal option dashlength ("dl" for
short).  The dash/solid property is separate from the use of color or
grayscale.
See
   http://gnuplot.sourceforge.net/demo_cvs/lines_arrows.html

[toc] | [prev] | [standalone]


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


csiph-web