How to color ALL the axis elements?

Dima Kogan <[email protected]> Sun, 15 Jun 2025 10:45:54 -0700
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
Hello!

I've a question/feature request. I often plot stuff against the
non-default axes, and it's really helpful to make it visually clear
which axes the different parts of the plot reference.

Something like this works:

  set ylabel "line"      textcolor linetype 1
  set ytics              textcolor linetype 1
  set y2label "parabola" textcolor linetype 2
  set y2tics             textcolor linetype 2

  plot x   with lines, \
       x*x with lines axis x1y2

So I plotted two things with different colors, and I want to color the
axes with the appropriate colors too. Each axis has 4 things that I'd
want to color, but here only two of those are colored; it's not clear if
gnuplot can do the other two:

- The axis label text. I can color this

- The tic label text. I can color that too

- The tics themselves. I can NOT color that, and I don't see anything in
  the docs about doing it. "set ytics textcolor" probably should control
  those too?

- The axis line itself. This is a part of "set border". We can set the
  color of the whole thing, but not of its separate elements, right?

Can we fix this? What kind of patch would be acceptable here?

Also, it'd be real nice if there was ONE command to set the color of ALL
the axis elements together.

Thanks


_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta