hi i want to plot one function. during the plot i want to extend some part arbitrary like picture . is there any way to do this?look at interval. it doesnt have equal parts.

 采纳的回答

Walter Roberson
Walter Roberson 2017-12-10

1 个投票

If you have older MATLAB, set the axis YTick property to the values you want shown.
With sufficiently new MATLAB, there is a yticks() helper function.

4 个评论

thanks for your answer but i plot my the chart with yticks but it didnt work correctlly . i share my resault .. i wished to have same picture.. book chart and what i simulated. the formula is correct the only problem is about plot look at pictures..u will see my chart below.
<<
>>
and this is book chart
It appears they might have used semilogy()

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by