|
From: | Ciotti, Louis A |
Subject: | RE: Plotting problem |
Date: | Thu, 15 Jul 2004 15:19:30 -0400 |
Mike,
I experienced this problem when I started using octave, and because of octave use of GNU plot to make it graphs, you either have to place labels and tic mark commands before the plot command or issue a re-plot command after the label and tic mark commands.
Lou
-----Original Message-----
I’m running Octave version 2.1.57 on a Red Hat Linux 9.0 machine with GNU Plot Version 4.0. Everything seems to be working fine except when I attempt to create a basic 2-D plot, my Y axis label and Y axis tic mark labels do not appear. The Y axis tics show up but no labels. The X axis label and tics are working. Here is a copy of my script below.
Could this be a margin problem? I’ve tried using the “gset ylabel” command which adjusts the position of the Y axis on my window, but the Y axis text is still not showing up.
title('Pitch Rate Response') grid; plot(TestData(:,1),TestData(:,2),"-2;case1;",TestData(:,1),TestData(:,3),"+3;case2;",TestData(:,1),TestData(:,4),"-4;case3;"); ylabel('Pitch Rate (Deg/sec)');replot xlabel('Time (seconds)');replot axis ("labely", "tic"); axis ("labelx", "tic");
Thanks,
Mike |
[Prev in Thread] | Current Thread | [Next in Thread] |