MathGroup Archive 2008

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

Search the Archive

Re: Exceptions Style Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86733] Re: Exceptions Style Problem
  • From: "David Park" <djmpark at comcast.net>
  • Date: Thu, 20 Mar 2008 02:50:23 -0500 (EST)
  • References: <frqpkk$4ru$1@smc.vnet.net>

Gary,

This is a little trip wire that WRI has inadvertently left in the path and 
almost everyone trips over it. Either it is a bug or it is a feature that 
needs clearer explanation in the documentation. Basically you have to use 
the equation form of Exclusions to make it work correctly.

folium[t_] := {3 t/(1 + t^3), 3 t^2/(1 + t^3)};

ParametricPlot[folium[t], {t, -30, 30},
 PlotRange -> {{-3, 3}, {-3, 3}},
 PlotStyle -> Black,
 ExclusionsStyle -> Blue,
 Exclusions -> {t == -1}]

-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


"WetBlanket" <Wyvern864 at gmail.com> wrote in message 
news:frqpkk$4ru$1 at smc.vnet.net...
>I generated a plot using this code:
>
> folium[t_]:={3t/(1+t^3),3t^2/(1+t^3)};
>
> y1=ParametricPlot[folium[t],{t,-30,30},PlotRange->{{-3,3},{-3,3}}]
>
> It was a nice folium with the asymptote displayed.
>
> Next I plotted
>
> y1= ParametricPlot[folium[t], {t,-30,30},PlotRange->{{-3,3},
> {-3,3}},Exclusions->-1 ]
>
> As expected this gave me the folium without the asymptote displayed.
>
> Finally, I plotted
>
> y1= ParametricPlot[folium[t], {t,-30,30},PlotRange->{{-3,3},{-3,3}}
> ,ExclusionsStyle->Blue,Exclusions->-1]
>
> I expected to see the asymptote displayed in Blue, since the
> documentation for ExclusionsStyle says, "ExclusionsStyle is an option
> to plotting functions that specifies how to render subregions excluded
> according to Exclusions."
>
> But, instead I get the folium without the asymptote displayed.
>
> Can anyone help me understand what I am missing?
>
> Thanks
>
> Gary Boswell
> 



  • Prev by Date: Re: Creating a function that is a derivative of another function??
  • Next by Date: Re: Find roots in a limited interval
  • Previous by thread: Exceptions Style Problem
  • Next by thread: Re: Exceptions Style Problem