|
[Date Index]
[Thread Index]
[Author Index]
Re: Truth-Plot
Veit Sanner wrote:
> How can I plot/evaluate the following equation in Mathematica 3.0?
> (x^2+y^3) MOD 4 < 2
>
> In my HP48 I just choose 'Truth' as plotting style and it works, but I
> can't find any 'TruthPlot[]' in Mathematica.
ContourPlot[Mod[x^2+y^3 ,4 ],
{x,-3,3},{y,-3,3},
Contours ->{2}, PlotPoints -> 50];
("True" is black)
PlotPoints -> 50 increases plot definition. Contours ->{2} causes the
contour at height 2 to be drawn.
--
Allan Hayes
Mathematica Training and Consulting
Leicester, UK
hay@haystack.demon.co.uk
http://www.haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44 (0)116 271 8642
Prev by Date:
Re: How to change the argument of a function?
Next by Date:
RE: choose with replacement
Prev by thread:
Truth-Plot
Next by thread:
nasty integrals that Mathematica can't do
|