How to show the axes?

15 次查看(过去 30 天)
bsd
bsd 2012-2-21
Hai,
I have plotted a graph using plot3() function. The axes in not being displayed on the graph, but I need to display the axes (x-axis, y-axis and z-axis) on the graph to put it into the project report. How could I display the axes? Looking for your reply.
BSD

回答(1 个)

Thomas
Thomas 2012-2-21
you could do it from the command line
doc axes
or you could plot the figure and put them using the Figure editor GUI.
  3 个评论
Thomas
Thomas 2012-2-22
You can use annotation
doc annotation
Use the textarrow
annotation('textarrow',x,y)
example:
annotation(figure1,'textarrow',[0.742677824267782 0.652719665271966],...
[0.27054046997389 0.365535248041775],'TextEdgeColor','none',...
'String',{'Xaxis'})
Sharon
Sharon 2012-2-22
Use "annotation"

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by