Customizing surfc / meshc graphs

Hi,
I would like to customize a surfc 3D graph.
My code is:
surfc(x,y,z); xlabel('pH'); ylabel('Ca++'); zlabel('SO4--'); title('Gypsum formation');
I want the graph to be in black and white and transparant. The questions is just as much about if there is a place/ a book, where I can learn the basics about customizing graphs.
With examples, as the syntax is complicated for my use.
Looking forward to any reply
Anders

답변 (2개)

the cyclist
the cyclist 2011년 3월 24일

0 개 추천

This page of the documentation discusses how to use "handle graphics" to manipulate the properties of figures, and has examples.
Matt Fig
Matt Fig 2011년 3월 24일

0 개 추천

S = surfc(x,y,z);
xlabel('pH');
ylabel('Ca++');
zlabel('SO4--');
title('Gypsum formation');
% Now set the surface to B&W and transparent.
set(S(1),'facealpha',0)
% Now the contours.
set(S(2:end),'edgecolor','k')
rotate3d
A decent book which talks about graphics in MATLAB is, "Graphics and GUIs with MATLAB" 3rd ed. by Patrick Marchand. The last section of the book, about GUIs, is outdated now but the rest of the book has a great treatment of all kinds of MATLAB graphics.

카테고리

도움말 센터File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

질문:

2011년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by