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


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

Re: have different border color at same time: like y1 blue and y2 red

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Chris Elvidge <chris@mshome.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: have different border color at same time: like y1 blue and y2 red
Date Thu, 5 Apr 2018 14:06:39 +0100
Organization A noiseless patient Spider
Lines 24
Message-ID <pa5711$th4$1@dont-email.me> (permalink)
References <1e2d51e5-b5e0-4de5-acf6-376c5492e5eb@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 5 Apr 2018 13:06:41 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="ba7f60da0afcc2dae8ab177c77d83cc9"; logging-data="30244"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18glMhtyf/DlPBVNV4vFxF5mzhDE77Ncr0="
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
In-Reply-To <1e2d51e5-b5e0-4de5-acf6-376c5492e5eb@googlegroups.com>
Content-Language en-GB
Cancel-Lock sha1:+9Gx48BvU2MThI6zgPe8rTIkMGQ=
Xref csiph.com comp.graphics.apps.gnuplot:3934

Show key headers only | View raw


On 05/04/2018 13:03, Mohammad Rahmani wrote:
> Is there any way to set differnt color for x1y1 and x2y2 or even have each border line with different color at the same time?
> 
> I want to draw somethinkg like this
> 
> plot x*sin(x) axes x1y1, 100*x*x axes x2y2
> where x1y1 are blue and x2y2 are red!
> 

"sfeam" suggests here:

https://groups.google.com/forum/#!topic/comp.graphics.apps.gnuplot/mnRsmo3w_gI 


that you draw a line over the axis with:

set arrow N nohead front from graph 1, graph 0 to graph 1, graph 1 lc 
rgb "red"

for y2 axis. (graph 0, graph 0 to graph 0, graph 1 for y1?)

-- 

Chris Elvidge, England

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


Thread

have different border color at same time: like y1 blue and y2 red Mohammad Rahmani <mohammad.rahmani@gmail.com> - 2018-04-05 05:03 -0700
  Re: have different border color at same time: like y1 blue and y2 red Chris Elvidge <chris@mshome.net> - 2018-04-05 14:06 +0100
    Re: have different border color at same time: like y1 blue and y2 red Mohammad Rahmani <mohammad.rahmani@gmail.com> - 2018-04-05 21:35 -0700

csiph-web