Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Removing the rear surfaces of the plot box in 3D plots

Subject: Removing the rear surfaces of the plot box in 3D plots

From: PLH

Date: 19 Jan, 2011 14:21:19

Message: 1 of 4

Hello,

I have a 3d plot, and I'd like to remove (or make transparent) the rear surfaces that bound the plot space (the surfaces corresponding to x=xlim and y=yllim). Essentially, all that should be visible is the z=0 plane, viewed at an angle.

I've looked through the documentation and I must've missed how this can be done. Could someone help me with this please?

Many thanks,

PLH.

Subject: Removing the rear surfaces of the plot box in 3D plots

From: PLH

Date: 19 Jan, 2011 15:10:20

Message: 2 of 4

For now, I've used axis off, although it would be nice to know if it's possible to still retain the x and y axes.

Subject: Removing the rear surfaces of the plot box in 3D plots

From: James Ramm

Date: 25 Jan, 2011 13:18:04

Message: 3 of 4

"PLH" wrote in message <ih6uss$4up$1@fred.mathworks.com>...
> For now, I've used axis off, although it would be nice to know if it's possible to still retain the x and y axes.


Im not sure I understood the question correctly, but why not simply set the colour of the axes to the same as the figure, or vice versa?

I.E assuming your figure colour is the default grey, and the axes background are white, go to, edit -> axes properties -> colors, grey.
Or edit -> figure properties and set the colour to white

Subject: Removing the rear surfaces of the plot box in 3D plots

From: James Ramm

Date: 25 Jan, 2011 13:20:04

Message: 4 of 4

"PLH" wrote in message <ih6s0v$ofn$1@fred.mathworks.com>...
> Hello,
>
> I have a 3d plot, and I'd like to remove (or make transparent) the rear surfaces that bound the plot space (the surfaces corresponding to x=xlim and y=yllim). Essentially, all that should be visible is the z=0 plane, viewed at an angle.
>
> I've looked through the documentation and I must've missed how this can be done. Could someone help me with this please?
>
> Many thanks,
>
> PLH.


Not sure I understood the question correctly, but why not just set the colour of the figure to that of the axes using the figure properties tool. Or set the color of the axes to that of the figure

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us