This is great! I am wondering if there is a way to remove the axes labels and use the xlabel and ylabel in the property editor. Specfically, I do not want the "negative" axis labels. The code is

@John,
Perhaps I am missing something obvious, but I am not able to get your package working even with a simple example of a 2D plot that you have provided in the oaxes.m file. I am using Matlab R2014b on a Windows 7 machine, and added the customplots folder using either the Set Path tab in the Home tab, or using addpath(genpath('MyPathOfCustomPlotsFolder')). I get the following error:
Undefined function 'customplots.oaxes' for input arguments of type 'matlab.graphics.axis.Axes'.
Error in oaxes (line 656)
OA = customplots.oaxes(hAx,pvPairs);
Please help!

@Sebastian:
Thanks for the clarification. Yes, that would be an interesting use case. When I get the chance, I'll take a look at how much effort that would take to implement within the existing code.
-John

@John:
what I mean is to create the axis at arbitrary rotation compared to matlab x,y,z directions. For instance, if campos(camtarget + 50/sqrt(3)*[1,1,1]); and then create an oaxis that has for instance x' pointing toward the camera, y' toward the right of the screen and z' is up on the screen. I'm not saying it has to be define compared to the camera position, but some way to rotate it compared to original x,y,z. I agree, in general once it's define, it should remain fixed, such that it corresponds to an actual coordinate system.

Works great! NB. seems to be incompatible with new graphics in the 2014b release, hope you can modify it to sense the matlab release and operate accordingly.

Comment only