Re: Part 2 of a recent post on Plot and v 5
- To: mathgroup at smc.vnet.net
- Subject: [mg44392] Re: Part 2 of a recent post on Plot and v 5
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sat, 8 Nov 2003 04:50:38 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <bofrqa$5ge$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi Mariusz,
this "feature" *is* a bug -- basta !
You are complete right.
Regards
Jens
Mariusz Jankowski wrote:
>
> Dear colleagues, I recently posted a question about the apparent change to Plot in version 5. I gather from the responses (thank you) that this new feature seemed natural or even desirable. That surprised me, so let me explain.
>
> I used
>
> Plot[UnitStep[x], {x, -1, 5}];
>
> and found that Mathematica chose to display the function in the "more interesting" range of -1<=x<=1.
>
> My opinion is that an EXPLICITLY given range in any of the graphics commands should not be overridden, under any circumstances. Is there anyone who agrees with me? I would love to hear some of the opinions for and against, especially the former, because I can't think of any.
>
> Finally, if this indeed is a new feature, can anyone explain the algorithm that is used to choose the "interesting" interval and is it used in any other 2D graphic functions, and density or contour plots?
>
> Thanks, Mariusz