plot range -pi to pi
Show older comments
how we can plot sine, cosine and tangent on one Figure window ,my problem was the range --> -π < θ < π.
3 Comments
James Tursa
on 2 Dec 2016
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
on 2 Dec 2016
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
on 3 Dec 2016
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!