Clip out of range data from a plot

1 次查看(过去 30 天)
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

回答(1 个)

Walter Roberson
Walter Roberson 2013-11-14
Also give the command
axis manual

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by