Why don't I see the graph? [No Graph visible in figure window without '+' or '.' argument]
이전 댓글 표시
The file that is attached is an attempt on simulating a swing-by. However all I get at the end is an empty figure window.
Funnily enough I am able to see the graphs when I add a marker like '+' or '.' to my plot, so they get simulated at least. Leaving the LineSpec out of the plot or adding a Line-Style like '-' or '--' will result in an invisible graph.
It seems to run on the computer of my teacher but not on my macbook pro nor on my desktop pc. He is using a very old version of Matlab and I am currently on R2015b.
EDIT: I changed the description of my problem slightly.
채택된 답변
추가 답변 (1개)
Walter Roberson
2015년 11월 29일
0 개 추천
Try moving the "hold on" to after the first plot3()
In R2014b and later, "hold on" becomes the same as "hold all", but that can have the effect of freezing the axes limits, so if you "hold on" before you have plotted anything then you might not be able to see the output.
카테고리
도움말 센터 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

