Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to draw three y axis using the gnuplot at the same x axis in one graph?

Tags:

plot

gnuplot

As mentioned in my title, I need to draw more than two y axis for the same x-axis of some specific scale. Can someone can tell me how to do this?

like image 742
nicholasaka Avatar asked Jul 10 '11 15:07

nicholasaka


People also ask

Does gnuplot support multiple Y axes on a single plot?

5.9 Does gnuplot support multiple y-axes on a single plot? Yes.

How do I make a second y-axis and assign particular data sets to it?

Double-click on either axis to open the Format Axes dialog and go to the Right Y axis tab. Use the roll-down menu to select a right Y axis format. Then, double-click on any data point to open the Format Graph dialog. Select a data set and use the check box to assign it to the right axis.


1 Answers

In gnuplot only two differently scaled y-axis are possible.
But you could either

  • scale your data against a certain value to plot relative values instead of absolute values,
  • or simply have multiple plots. (multiplot)
like image 192
Woltan Avatar answered Sep 30 '22 04:09

Woltan