hi all,

i'm trying to generate a very simple plot, where only the left y axis and
the bottom x axis are present. i.e. there is no top x axis or right y
axis... this is the default for many plotting packages. in matlab, one can
do this as follows:

>> x = rand(1,100);
>> hist(x)
>> set(gca, 'Box', 'off', 'LineWidth', 1);

so the set(gca, 'Box', 'off'...) command does the job. what's the analogous
matplotlib command? i would like to do this preferably without any external
packages.

I attach the figure so you can see what i mean...

thank you.

<<attachment: matlab.png>>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to