QtOctave

View: New views
1 Messages — Rating Filter:   Alert me  

QtOctave

by jarry7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi. This is my first post.

I have started using octave quite recently as an alternative to the rather expensive matlab.

So, I am trying to plot a 3-D plot and would like to change the alignment of the z-axis label (zlabel). Right now it is horzontal and I would like it to be vertical. So after much searching I found the many solutions to this using the "rotate by" part of the label function. I kept on getting errors every time I used it and actually found that just using the syntax:


 "set zlabel "Z-AXIS"


This gives me an error as follows:

parse error:

  syntax error

>>> set zlabel "zlabel"


This is where I think the general problem is. For some reason, my QtOctave and normal octave run from the terminal has a problem when I use the set function in the way shown above. If I use the function form it works fine:

zlabel("Z-AXIS",'FontSize',18);

Please can somebody explain what is going on here?