Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

The graphic shows beyond the axis

1 Ansicht (letzte 30 Tage)
ZC Song
ZC Song am 13 Jun. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi everyone,
I'm so confused that when I try to plot scatters, why the fighure always beyond of the axis?
Also, the colorbar label has the same iusse. Below is the code and plot:
scatter(app.UIAxes4,X_1,Y_1,200,Z_1,'s','filled')
c = gray;
colormap(app.UIAxes4,c)
d = colorbar(app.UIAxes4);
d.Label.String = 'Elevation [m]';
d.Label.FontSize = 10;
hold on
  4 Kommentare
Jan
Jan am 16 Jun. 2019
For a minimal working example we would need the definition of app.UIAxes4. Maybe you have set its default position or Y-limits?
ZC Song
ZC Song am 16 Jun. 2019
The app.UIAxes4 just indicates the name of the axis component, it can be any given name or by default.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by