anyway to drag the colorbar to the desired location?

1 Ansicht (letzte 30 Tage)
Yu Li
Yu Li am 9 Dez. 2018
Bearbeitet: Yu Li am 16 Dez. 2018
is there anyway to drag the colorbar in a desired location, instead of enter the number to determine its location?
Thanks!
Yu

Akzeptierte Antwort

Astha Singh
Astha Singh am 13 Dez. 2018
If I am understanding correct, you want to manually drag the colorbar to some desired location on the generated figure.
To achieve this, open the 'Edit' drop-down menu from the toolbar present in the generated figure. Thereafter select the 'Axes Properties', the figure objects open in an editable view. Here you can click and drag both your plot and the colorbar.
There are also various command line options present which can position the colorbar as desired. Details about the same can be found under the 'Position' sub-section, at the following documentation link:

Weitere Antworten (0)

Kategorien

Mehr zu Colormaps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by