Boundary of a plot in Matlab 2012b
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Colormaps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!