MathGroup Archive 2002

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

Search the Archive

Re: Plotting problem


The particular function you chose for the example has no holes. Actually,
since

In[1]:=
Factor[3*x^2 - 5*x + 2]
Out[1]=
(-1 + x)*(-2 + 3*x)

what you have is more than a rational function: it is a polynomial of degree
1: 3 x - 2.

Tomas Garza
Mexico City
----- Original Message -----
From: "Steven Hodgen" <shodgen at mindspring.com>
To: mathgroup at smc.vnet.net
Subject: [mg35359]  Plotting problem


> Hello,
>
> I'm a total Mathematica newbie, and I'm trying to get it to plot a simple
> rational eq. in such a way that it indicates where missing points are.
> Since I'm not sure how you'd prefer the eq. expressed, I've typed in in
the
> parents so there can be no question of where the denominator is, as well
as
> a cell expression.
>
> (3 x^2 - 5 x + 2)/(x - 1)
>
> Cell[BoxData[
>     FractionBox[
>       RowBox[{
>         RowBox[{"3",
>           SuperscriptBox["x", "2"]}], "-",
>         RowBox[{"5", "x"}], "+", "2"}],
>       RowBox[{"x", "-", "1"}]]], "Input"]
>
> When I Plot[], this is just draws a straight line.  There is no indication
> where the hole is. How can I get this "fully correct" graph?
>
> Thanks
> --Steven
>
>
>



  • Prev by Date: Re: Quantile function
  • Next by Date: RE: Plotting problem
  • Previous by thread: Plotting problem
  • Next by thread: Re: Plotting problem