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


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

Re: Colored y2 axis and y2tics?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Colored y2 axis and y2tics?
Followup-To comp.graphics.apps.gnuplot
Date Wed, 13 Jun 2012 10:33:23 -0700
Organization gnuplot development team
Lines 28
Message-ID <jrait3$pqo$1@dont-email.me> (permalink)
References <jraffr$jm8$1@news.albasani.net>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Wed, 13 Jun 2012 17:33:23 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="26456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DuCUaSGChVCxF2XMU3WOU"
User-Agent KNode/4.4.9
Cancel-Lock sha1:bMChr3rorAYFvK9KNIUJUrU2MgA=
Xref csiph.com comp.graphics.apps.gnuplot:1204

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


Gudrun wrote:

> Dear all.
> I would like to ask two questions:
> 
> a) Can I change the color of y2 axis, i.e. the color of the vertical
> line being the y2 axis with a command inside gnuplot?
> 
> b) I managed to change the color of the numbers of the y2 axis and the
> label, but the small horizontal streaks that are the tics remain black.
> How do I change their color in gnuplot, please?

You can change the color of all the axis lines jointly by using
"set border {{linestyle | ls <line_style>} | {linetype | lt <line_type>}}"

The individual subcomponents, including the y2 axis and tics,
cannot be changed independent of the rest.

On the other hand, if you just want to draw a colored line on top of 
the y2 axis you can say
   set arrow N nohead front \
         from graph 1, graph 0 to graph 1, graph 1 lc rgb "whatever"


> 
> Thank you.
> Kind regards
> Gudrun

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


Thread

Colored y2 axis and y2tics? Gudrun <bestenborstel@gmail.com> - 2012-06-13 18:35 +0200
  Re: Colored y2 axis and y2tics? Gudrun <bestenborstel@gmail.com> - 2012-06-13 18:35 +0200
  Re: Colored y2 axis and y2tics? sfeam <sfeam@users.sourceforge.net> - 2012-06-13 10:33 -0700
    Re: Colored y2 axis and y2tics? Gudrun <bestenborstel@gmail.com> - 2012-06-14 12:24 +0200
      Re: Colored y2 axis and y2tics? Ingo Thies <ingo.thies@gmx.de> - 2012-06-15 23:13 +0200

csiph-web