'Is it possible to arrange only maximum limit of graph in Matlab?

I want to give a maximum value to my ylimit in a graph.

I know ylim command takes minimum and maximum value.

How to arrange maximum limit for y axis, without changing mimimum?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source