Clear Filters
Clear Filters

Adding colorbar to ui axes in appdesigner?

34 views (last 30 days)
Hello, I added a contour plot in uiaxes in appdesigner. I want to change its colormap and add a colorbar, but so far I could not figure it out. Any help will be appreciated. Thanks!

Accepted Answer

Adam
Adam on 15 Mar 2017
colorbar( hAxes )
will add a colourbar just like it does for normal axes.
colormap( hAxes, 'jet' )
should likewise change its colourmap to e.g. jet

More Answers (0)

Community Treasure Hunt

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

Start Hunting!