Costumize 3D Plot and labels

4 views (last 30 days)
SASASA
SASASA on 13 May 2014
Hi community! I'm currently working with this 3D plot, and even if it is kind of OK, there are quite a great deal of stuff I would like to change...
So here is the code
if true
ii=1;
hold on
while(ii<=(pctjM-pctjm)/pctj+1)
if(ii==1 || ii==5 || ii==8)
h=plot3(domainx,domainy,data,'ko-','MarkerEdgeColor','k','MarkerFaceColor',color(ii,:),'LineWidth',1,'MarkerSize',13)
else
h=plot3(domainx,domainy,data,'ko-','MarkerEdgeColor','k','MarkerFaceColor',color(ii,:),'LineWidth',1,'MarkerSize',13)
end
ii=ii+1;
end
set(gca,'YTick',[1 2])
view(21, 18);
zlim([80 110])
name={'Variables Nucleares','Temperaturas'}
set(gca,'yticklabel',name);
NumTicks = 2;
L = get(gca,'YLim');
set(gca,'YTick',linspace(L(1),L(2),NumTicks))
xlim([-85 85]);
Legend=legend('$\rho_{drift}$','$T_{sc}^{out}$','$T_{g}$','$T^{in}_{sc}$','$P$','$T_{rc}$','$T_{ra}^{out}$','$C^{prom}$','$T_{g}^{max}$');
set(Legend,'Interpreter','latex')
set(Legend,'location','EastOutside')
xlabel('{Variaci\''on[$\%$]}','Interpreter','Latex','FontWeight','Bold','FontSize',10);
zlabel('$Par_{\%}/Par_0[\%]$','Interpreter','Latex','FontWeight','Bold','FontSize',15);
grid
box off;axis square;
set(gca,'LineWidth',2);
set(gca,'FontSize',16);
set(gca,'FontWeight','Bold');
set(gcf,'color','w');
set(gcf,'papersize',[10,7])
set(gcf,'paperposition',[0,0,10,7])
set(get(gca,'xlabel'),'FontSize', 25,'FontWeight','Bold');
%saveas(h,'path/LatexFile.pdf','pdf')
end
end
So things I need your help with:
a)How to make the Xlabel 'Variación' to "fit" like the Zlabel does. I mean to just in the axis maybe a bit bend and so.
b) How to reduce the spacing in the Y axis, the one that has the strings? So the two set of data are more together.
c)How no make the awful pice of black line that goes to the middle of the ball dissapear. I get the the plot is trying to help with the perspective but the end result is just awkward.
d) Is there any way to put some straight arrow that start in the middle point of the Z axis and goes to the different points? Like a sutil gray arrow that goes from the middle plane (value 100) to the dot (in the case of the first red dot it would go from 100 to 107). In this way I could stress out the difference values FROM the middle axis (100) which is the point of the picture
e) Is there a way to make the legend square less horrible?
f)Can I draw, again a subtle, middle plane at value 100 (Z axis) so to emphasize what set of dots are upper or downer the value 100?
Well I know this is allot! but any help on any Item is most welcome!
Thanks in advance for your time and sorry for the long post.

Answers (0)

Community Treasure Hunt

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

Start Hunting!