Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

colorbar on contour plot has weird orientation

2 views
Skip to first unread message

Sarah

unread,
Feb 9, 2010, 6:15:06 PM2/9/10
to
Hi,

I have three contour subplots with a single common colorbar saved as a fig file. When I open the figure with the property editor I can change the colormap. The colors change smoothly on all three plots and the colorbar.

BUT, the colors in my horizontal colorbar now show up vertically, i.e. as though a vertical colorbar was squished and stretched into the horizontal box. The colorbar scale numbers also get moved from the bottom to the left axis, where they are squished on top of each other.

Any hints??

thanks!
Sarah

Sarah

unread,
Feb 9, 2010, 10:39:03 PM2/9/10
to
"Sarah " <sgr...@AT.mtu.edu> wrote in message <hksq9q$rlk$1...@fred.mathworks.com>...

I fixed my problem by just deleting the old colorbar and making a new colorbar with:
colorbar('location', 'SouthOutside')
and moving it where I want it.

I still don't know why this happened, though.
-s

0 new messages