HeatMap to Figure in 2009b vs. 2010b

2 views (last 30 days)
D
D on 21 Dec 2011
To get a HeatMap in a figure window, I can do
hmo.plot;
in Matlab2009b, but in 2010b, the same operation returns the error below. Why is this happening, and what is the alternative in 2010b? Thanks.
??? Errorusing ==> HeatMap.HeatMap>HeatMap.subsref at 977
Invalidproperty found.
ObjectName :figure
PropertyName :'PagePosition'.
1 Comment
Image Analyst
Image Analyst on 21 Dec 2011
What is the line of code? What does your code say at line 977? Why are you trying to set the PagePosition property of your figure anyway? What are you trying to accomplish by doing that? Maybe there is another way. Perhaps the PagePosition property was deprecated and finally was removed.

Sign in to comment.

Accepted Answer

Lucio Cetto
Lucio Cetto on 30 Dec 2011
This is a bug in 2010b, this was later fixed. This has a simple workaround, use:
plot(hmo,figure('Renderer','ZBuffer','Visible','on'))
HTH
Lucio

More Answers (0)

通讯unity Treasure Hunt

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

Start Hunting!