Info
This question is closed. Reopen it to edit or answer.
The graphic shows beyond the axis
1 view (last 30 days)
Show older comments
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224428/image.png)
4 Comments
Jan
on 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?
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!