Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Basic Axes modification

1 visualización (últimos 30 días)
Santino M
Santino M el 18 de Sept. de 2011
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
1.how to set the tick label size 2. how to decide the distance between two plots in subplot, vertical and horizontal distances 3. can i have the top and right axis of a plot removed in the figure so that only the X axis and Y axis are visible in the 2D plot 4 how to set the thickness of the axis and the tick labels in a 2D plot

Respuestas (1)

Grzegorz Knor
Grzegorz Knor el 18 de Sept. de 2011
plot(1:10)
1.:
set(gca,'FontSize',14)
3.:
box off
2.: You have to create subplots manually, for example:
axes('Units','Normalized','Position',[.1 .1 .1 .1])
axes('Units','Normalized','Position',[.2 .2 .3 .1])
axes('Units','Normalized','Position',[.5 .3 .3 .1])
4.: In my opinion there is no property like 'AxesThickness', but you can add lines to your plot to 'simulate' it:
plot(1:10)
x = get(gca,'xlim');
y = get(gca,'ylim');
line(x,y([1 1]),'Color','k','LineWidth',3)
line(x([1 1]),y,'Color','k','LineWidth',3)
box off

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by