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


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

Re: Colored y2 axis and y2tics?

Path csiph.com!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ingo Thies <ingo.thies@gmx.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Colored y2 axis and y2tics?
Date Fri, 15 Jun 2012 23:13:00 +0200
Lines 26
Message-ID <a41mqsFbgtU1@mid.individual.net> (permalink)
References <jraffr$jm8$1@news.albasani.net> <jrait3$pqo$1@dont-email.me> <jrce48$7p0$1@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net eMBpaTCMXvrtV1AenXB3lA85FJVay8P6qxvsBlR2lP31kMnhxb8TtLcPhgT4gDN/RQ
Cancel-Lock sha1:rNuBOFlh2U4MDacuSKSFTEEb7sE=
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120601 Thunderbird/13.0
In-Reply-To <jrce48$7p0$1@news.albasani.net>
Xref csiph.com comp.graphics.apps.gnuplot:1206

Show key headers only | View raw


Am 2012-06-14 12:24, schrieb Gudrun:

>> 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"
>
> Cool. Thanks. At least this side of the border has then the right color.

In principle, you can even use arrows instead of the native tics. It is 
a bit more work, and the "set *tics" commands won't of course work for 
them, but on the other hand, you can draw slanted tics where needed. One 
example is this graph of the Planckian colour locus in the CIE 1931 
diagram (I don't know whether this has actually been done in gnuplot, 
but I succeeded to reproduce similar plots with gnuplot):

http://commons.wikimedia.org/wiki/File:PlanckianLocus.png

Similarly, also coloured tics should be possible (as well as coloured 
tick labels, like the wavelength labels in the above figure).

Best wishes,

Ingo

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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