The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Once you plot in a 3D space (for example using surf function)
x=[0:0.1:2*pi];
y=x; z=sin(x')*cos(y);
s=surf(x, y, z)
If you add legend() to your script you will add a colorbar, as here shown:
Hi Lorenzo,
Could you please show me a script example (can be the above colorbar)
Thank you
Please, anyone knows how to add a colorbar?
Thank you.
Hi,
check this script!
Cheers,
L
Unable to find an attachment - read this blog
Lorenzo,
Thank you so much for the info.
Do you know as well how I can edit the color, values and scale?
Regards,
Henrique
Hi Henrique,
you can access some properties through get(gca) or get(gcf) and then change them through set(gcf,'propertyname','value') or set(gca,'propertyname','value').
Thanks /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />
Join us for a community conversation on Pulse Width Modulation (PWM), a fundamental technique in electric motor control, and explore how different PWM strategies can yield significantly different results. This webinar provides a comparative analysis of various PWM methods and their effects on motor efficiency, torque…
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…