How to remove specific box lines in 3d plot?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone,
I would like to remove only specific box lines. Is there a way around it?
Default:

How I would prefer it:

Thanks for your time.
0 Kommentare
Antworten (1)
chicken vector
am 13 Mai 2023
Bearbeitet: chicken vector
am 13 Mai 2023
Bit artificious but does the trick:
z = 0:0.05:10*pi;
x = cos(z);
y = sin(z);
figure;
hold all;
plot3(x,y,z)
% Remove box lines:
box off;
% Plot back lines:
ax = gca;
plot(ax.XLim,repmat(ax.YLim(1),1,2),'k');
plot(repmat(ax.XLim(1),1,2),ax.YLim,'k');
view([1 1 1]);
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots 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!
