How to show the axes?

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일

1 개 추천

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

bsd
bsd 2012년 2월 22일
I am not telling about the xlabel(), ylabel() and zlabel() functions. I mean that, when a graph is drawn x must be indicated on the x-axis and y must be indicated on the y-axis and so with the z-axis with arrow marks. It is something like, when you draw a graph on a sheet of paper, you mention the axes with arrow marks so as to identify which is x,y,and z axes.
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"

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

태그

질문:

bsd
2012년 2월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by