MATLAB: How to make an axes transparent when using Plot Tools in MATLAB 7.1 (R14SP3) and MATLAB 7.2 (R2006a)

axesaxiscolorgcainspectorMATLABnoneplotplottoolspropertiespropertysettoolstransparent

I want to change the axes 'Color' property to 'none' from the Plot Tools GUI, but I don’t know how to do this in MATLAB 7.1 (R14SP3) or MATLAB 7.2 (R2006a).

Best Answer

You can change the axes property “Color” to “none” by changing any of the RGB color values to NaN, as follows:
1. Open Plot Tools
2. Select the axes object
3. Open the Property Inspector
4. Expand the “Color” property to view the RGB components
5. Change any RGB value to NaN
In MATLAB 7.2 (R2006a) it is not possible to make the axes transparent from the Plot Tools. To workaround this in MATLAB 7.2 (R2006a), use the SET command to change the axes property 'Color' to 'none'.
set(gca, Color, none)