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

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 2018-04-05 14:06 +0100
Organization A noiseless patient Spider
Message-ID <pa5711$th4$1@dont-email.me> (permalink)
References <1e2d51e5-b5e0-4de5-acf6-376c5492e5eb@googlegroups.com>

Show all headers | 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