I realize now that what it does is multiply all of the labels. so if I remove the x-labels, x-ticks, etc, it doesn't have the same problem. I would like to keep the labels on of course, only one instance of each rather than dozens. It also multiplies things I added to the plot with text(). This is very strange behavior.
Color Bar goes Crazy for Multiple Plots in same axes
3 views (last 30 days)
Show older comments
What I am plotting is a slice of data (a contour plot), perpendicular to an image that shows the ground surface. If I use a colorbar just plotting the contour plot, I don't have any problems. However, if I have both the image and the contour plot, the color bar goes crazy. it fills the whole figures window with numbers and "x y z" like a matrix. Has anyone encountered this? Is there a way to just associate a colorbar with a single plot when the axes has multiple plots?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!