Boundary of a plot in Matlab 2012b
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hello everyone,
I am running Matlab 2012b on Mountain Lion 10.8.2. I have plotted a figure whose code I'm attaching with this message. I can't see axes border around the figure in the plot. I also have same problem when I use similar code for plotting two subplots. In the first subplot I can't see the axes border while in the second subplot I see it. I'm puzzled by this. I tried running the same code on Linux machine but had to choose opengl software command and I see same results. Can anyone suggest something.
Thanks! Naveen
-----------------------------------------------------------
figure(1);
hold on
contourf( omega_p_grid, rr_term, a0_grid, 500, 'Edgecolor', 'none' )
set( gca,'xTick', 0 : 0.1 : omega_p_max )
set( gca,'yTick', 0 : 0.02 : 0.12 )
%box on
%opengl software
%axis tight
colormap jet(500)
h = colorbar;
xlabel (h, '$a_0$', 'fontsize',23, 'interpreter','latex' )
set( gca,'fontsize',16 )
xlabel( '$ \Omega_p $','fontsize', 20 , 'interpreter','latex' )
ylabel( '$ \psi a_0^2 \gamma_0 $','fontsize',22, 'interpreter','latex' )
title( 'Parameter map', 'fontsize', 19, 'interpreter', 'tex')
plot ( omega_p, dia_ineq1, '-.b', omega_p, dia_ineq2, 'r', 'LineWidth', 2 )
hold off
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Colormaps 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!