SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Jonathon A. <and...@gm...> - 2007年01月29日 03:07:31
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?
~jonathon anderson
From: Darren D. <dd...@co...> - 2007年01月29日 03:29:49
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)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /