How to adjust scale on y-axis?

I have the following problem. I have a plot on which the deviation is given on the y-axis. One plot has a deviation of 1.16%. Unfortunately, on the y-axis is only 0.016. How do I get it that the values on the y-axis are multiplied by the factor x100?

struct plotControl myPlot;

myPlot=plotGetDefaults("XY");

location = "bottom right";

plotSetLegend(&myPlot,Legend,location);

plotSetLegendBorder(&myPlot, "light gray", 1);

plotSetYLabel(&myPlot, "Pct");

plotSetXLabel(&myPlot, "Period");

for j (1, rows(_all_shocks), 1);

  _shock = _all_shocks[j];

  plotOpenWindow();

  te=seqa(0,1,T.nirf);

  for i (1,10,1);

    plotlayout(2,5,i);

    plotSetTitle(&myPlot,Names[i]);

    temp=arraytomat(T.irf[_shock,.,i])~arraytomat(T1.irf[_shock,.,i]);

    plotxy(myPlot,te,temp);

  endfor;

endfor;

1 Answer



0



If I am understanding your question correctly, then you can just multiply the y-values by 100 before plotting them.

plotxy(myPlot, te, temp*100);

aptech

1,773

Your Answer

1 Answer

0

If I am understanding your question correctly, then you can just multiply the y-values by 100 before plotting them.

plotxy(myPlot, te, temp*100);


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy