MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re : Re: 1) Global Real Space and 2) Histogram Y-axis

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51633] Re : [mg51599] Re: 1) Global Real Space and 2) Histogram Y-axis
  • From: "Florian Jaccard" <florian.jaccard at eiaj.ch>
  • Date: Wed, 27 Oct 2004 23:42:32 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello  Steve,

I suggest not to use RealOnly.
With the package loaded, there are horrible mistakes with 5.0. 
(Let us call it "bugs")

For example :

In[3]:=
<< "Miscellaneous`RealOnly`"

In[10]:=
Integrate[1/(x^2 + x + 1), x]

Out[10]=
x/(1 + x + x^2)

Which is wrong, of course !

So it is better to use 
ComplexExpand     and 
Simplify[expr,Element[x,Reals]] 
and so on!

Regards

F.Jaccard


-----Message d'origine-----
De : Steve Luttrell [mailto:steve_usenet at _removemefirst_luttrell.org.uk] 
Envoyé : mercredi, 27. octobre 2004 07:54
À : mathgroup at smc.vnet.net
Objet : [mg51599] Re: 1) Global Real Space and 2) Histogram Y-axis

Use the Miscellaneous`RealOnly` package.

Steve Luttrell

"Skirmantas Janusonis" <skirmantas.janusonis at yale.edu> wrote in message 
news:clcng4$q2p$1 at smc.vnet.net...
> I'd like to thank Janos D. Pinter and DrBob for their advice on NMinimize,
> which I found very helpful.
>
> Mathematica is so carefully designed that its accuracy sometimes may be
> annoying. Namely, it never forgets about complex numbers and sometimes I
> wish it did. My question is this: is it possible to tell a notebook that 
> it
> has to deal only with real numbers? It would be nice to have some global
> setting so that one doesn't have to specify the same assumptions over and
> over again.
>
> My second question is this: How do I adjust the range of the y-axis of a
> histogram? PlotRange->{min,max} doesn't seem to work.
>
> Thanks!
>
> Skirmantas
>
> 





  • Prev by Date: Re: Applying StyleForm to String plus Table?
  • Next by Date: Re: listplot and plot of the same function display in different scale...
  • Previous by thread: Re: Precisio in ListContourPlot?
  • Next by thread: orthogonal 4d rotational matrices in Mathematica