Can't change axis locations on 3D plot ('yaxislocation')

Discussion in 'MATLAB' started by Kate, Jan 21, 2004.

  1. Kate

    Kate Guest

    I have a 3D plot, and I want its yaxis to appear on the right side of
    the plot. However, when I try to change it, it stays on the left in
    3D view, but has moved to the right in 2D view!

    peaks ;
    set(gca, 'yaxislocation', 'right') ;
    view(3) ; % Yaxis is on the left
    view(2) ; % Yaxis is on the right

    Do you know how I can have the axis appear on the right side?
    Having it on the left seems to be hard-wired. As I rotate the 3D plot
    using 'Orbit Camera' from the Camera Toolbar (accessible from the
    'View' button on top of the plot), the yaxis keeps jumping back to the
    left side of the plot.

    Thanks,
    Kate
     
    Kate, Jan 21, 2004
    #1
    1. Advertisements

  2. Kate

    matt Guest

    Try view

    VIEW(AZ,EL)
     
    matt, Jan 21, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.