Create Polar Axes in Tiled layout
28 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
F Schmid
am 3 Jan. 2023
Kommentiert: F Schmid
am 9 Aug. 2023
I am trying to include a polar axes into a tiledlayout, and change some stuff to the axes. Unfortunately I am not able to include a polaraxes into my tile. The second plot is supposed to be in the tile below.
t = tiledlayout(2,1);
nexttile;
plot(rand(10),rand(10))
nexttile;
plax = polaraxes();
plax.RDir = 'reverse';
polarplot(plax, rand(10),rand(10));
0 Kommentare
Akzeptierte Antwort
F Schmid
am 3 Jan. 2023
3 Kommentare
Darcy Cordell
am 9 Aug. 2023
When I do this, it creates a double axis on each tile. One has the polar plot, the other is just a regular blank axis:
tlo = tiledlayout(4,2);
for is = 1:8
nexttile;
ax = polaraxes(tlo);
ax.Layout.Tile = is;
polarplot(rand(10,1),rand(10,1),'.');
end
Result:
Any help is appreciated.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Polar 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!