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);
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.
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.