Thank you very much !
That did it for me.
If I get it right ax=twiny or ax=gca()
defines the plot type ?
On Fri, Jun 13, 2008 at 9:35 PM, Abhinav Verma <[EMAIL PROTECTED]>
wrote:
> or more appropriately you might need this
>
> from pylab import *
>
> setp(gca(), 'xticklabels', [])
> subplot(11
or more appropriately you might need this
from pylab import *
setp(gca(), 'xticklabels', [])
subplot(111)
ax=twiny()
y = [1, 2, 3, 4]
x = [5, 4, 2, 2]
plot(x, y, 'ro-')
ylim(5,0)
xlim(1,6)
ax.xaxis.tick_top()
xlabel('Y')
ylabel('X')
show()
On Fri, Jun 13, 2008 at 10:24 AM, Oz Nahum <[EMAIL PROT
Oz Nahum wrote:
> Hi all,
>
> I am trying to plot an oceanographic profile using some ocean data I
> have. The thing is that in oceanograhy it is common to display graphs
> where the independent variable (x) is depth, and some other data (i.e
> salinity or temperature) is plotted against it. Th
Hi all,
I am trying to plot an oceanographic profile using some ocean data I have.
The thing is that in oceanograhy it is common to display graphs where the
independent variable (x) is depth, and some other data (i.e salinity or
temperature) is plotted against it. The graph is supposed to look lik