plot range -pi to pi
显示 更早的评论
how we can plot sine, cosine and tangent on one Figure window ,my problem was the range --> -π < θ < π.
3 个评论
James Tursa
2016-12-2
Please post the code you are using, and give us more detail on your question. Are you having trouble getting multiple plots on one figure? Or getting the axis range on the plot what you want? Or ...?
Roger Stafford
2016-12-2
You can't do it! Over that range the tangent function becomes infinite-valued, so there is no way it could ever be completely plotted. You had better make some provision for avoiding such infinite or extremely large numbers in your plot.
Abu Yamen
2016-12-3
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
