How can I align the zeros in a two y-axes plot

Hi everyone,

I have drawn a plot with two y-axes and I would like to have the zeros of both axes aligned. Do you know if anything like that is possible in Scilab ?

Scilab 09-07-20, 12:42 p.m. jlafougere01

Can you post the Scilab code for the same?

Meanwhile, you can try the following command and set the axes boundries for both axes.

set(gca(),'data_bounds',[min(x),min(y); max(x),max(y)]
13-01-22, 12:14 p.m. Rashmi

Log-in to answer to this question.