Info

此问题已关闭。 请重新打开它进行编辑或回答。

The graphic shows beyond the axis

1 次查看(过去 30 天)
ZC Song
ZC Song 2019-6-13
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Jan
Jan 2019-6-16
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 2019-6-16
The app.UIAxes4 just indicates the name of the axis component, it can be any given name or by default.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by