How to get plot to show exactly the x-axis range desired?
2 次查看(过去 30 天)
显示 更早的评论
Hello
My question might be a bit odd but I have used plot in matlab and obtained some figures. The ones that I have obtained look something like this:

Which as it can be seen, it covers competely the x-axis and shows the x-axis only for the desired values.
Now I am plotting the same function but varying another variable
which is

tau1=0.01:0.01:0.10
when plotting the figure I get:

How can I get rid of the extra space in the x-axis where my function has no values?
Thanks!
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!