In R2014a,
subplot(1,2,1);plot([1 2 3],[2.2e-305, 2.2e-305, 2.2e-305]);subplot(1,2,2);plot([1 2 3],[2.2e-305, 2.2e-305, 2.2e-305+1.6E-306])
The left plot will draw without difficulty; the right plot will be blank. The error appears to occur when the values are not all the same but the maximum difference between values is less than about 1.7E-306: if the values are all the same then the line will draw.
If you add another line to the graph for which the maximum y span becomes greater than that range then both lines will draw.
Could someone try this in R2014b or later?
I encountered this when I got an empty plot for some data near realmin, decided to experiment on where the lower limit on drawing was, and hit inconsistencies, with it happily drawing some lines of constant values that were much absolute value than the non-constant values it was refusing to draw.

 採用された回答

Jan
Jan 2016 年 4 月 17 日

1 投票

The display of the right diagram fails for 2009a and 2011b also. If the renderer is set to OpenGL, only the tickmarks appear, but nothing else.
It works fine in 2015b already.

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 17 日
編集済み: Azzi Abdelmalek 2016 年 4 月 17 日

1 投票

With Matlab R2016a

1 件のコメント

Walter Roberson
Walter Roberson 2016 年 4 月 17 日
Looks like it got fixed then!

サインインしてコメントする。

質問済み:

2016 年 4 月 17 日

回答済み:

Jan
2016 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by