On Sunday 28 January 2007 10:07:26 pm Jonathon Anderson wrote:
> It seems that xlim/ylim only set outside bounds. (Don't plot less than min,
> or more than max.) Is there any way to specify a plot range even if there's
> no data there? Like, if my graph plots [5,6,7,8], [5,7,3,6] could I specify
> that my plot should display x and y from 0 to 10?

it is straight forward:

plot([5,6,7,8],[5,7,3,6])
xlim(0,10)
ylim(0,10)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to