Clip out of range data from a plot

3 views (last 30 days)
Mahi Nazir
Mahi Nazir on 14 Nov 2013
Answered: Walter Roberson on 14 Nov 2013
I am plotting a 3D graph (using plot3) I am defining my axis([-8,8,2,50,0,20]) With centre as (0,2) I am drawing some semi-circles. If the radius of the circle is >8, the x-axis is expanded by itself and the limit defined (-8,8) doesn't hold. I want to clip that part of the semi-circle which is beyond -8 to 8 and want only an arc to remain in the graph if radius>8
Any help will be really appreciated

Answers (1)

Walter Roberson
Walter Roberson on 14 Nov 2013
Also give the command
axis manual

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!