Problem in exporting graph

I have created a 2 D surface plot using length as x axis,date and time as y axis and temperature as Z axis using Imagesc. I have used the following lines to convert the display of Y axis as real date and time.
set(gca,'YTick',realdate) datetick('y', 'dd/mm HH:MM')
The problem arises when I try to set the limit for Y axis and save the plot to TIFF or PNG file. The resultant file is just blank one only with axis and color bar visible. Glad, if some one could help.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 8월 19일

0 개 추천

Be careful, length, date are all MATLAB functions. Try not to use them as your variable name.

카테고리

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

질문:

2011년 8월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by