MATLAB: 1/y on y-axis

inverted y-axis

i have plottet a piecewise function to get the graph, and i now want to get the inverted function, so that i get 1/y on the y axis, how do i do this?
fplot(@(x) (2367005001044503*x^2)/140737488355328,[0 67/1000],'b') hold on fplot(@(x) ((5074858722104307*(x-67/1000)/2251799813685248)+0.07549861498),[67/1000 3/25],'b') hold on fplot(@(x) (-(((x-3/25)*(18936040008356024*(x-3/25) – 7082078963507959)/1125899906842624))+0.1949441850),[3/25 1/5],'b') hold off grid on

Best Answer

You want to get the reciprocal of y.
fplot(@(x) 1/(2367005001044503*x^2)/140737488355328,[0 67/1000],'b')
You will get the reciprocal of y.