From: Tanpreet on
Hi All,

I have generated a surface plot of a cylindrical surface in MATLAB. This cylindrical surface is a feature of a 3d model. Now I would like to view this surface plot as superimposed over the 3d model of actual component. How can this be done?

Regards,
Tanpreet
From: Stefan Andreevski on
"Tanpreet " <tanpreetsingh(a)bajajauto.co.in> wrote in message <hs0ug3$7to$1(a)fred.mathworks.com>...
> Hi All,
>
> I have generated a surface plot of a cylindrical surface in MATLAB. This cylindrical surface is a feature of a 3d model. Now I would like to view this surface plot as superimposed over the 3d model of actual component. How can this be done?
>
> Regards,
> Tanpreet

Hi Tanpreet,

Just use "hold on" command.
Ex:
plot3(a,b,c), grid on, hold on
plot3(d,e,f)

Cheers,
Stefan