Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Creating error message in Manipulate?' topicStudent Support Forum > General > "Creating error message in Manipulate?"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
06/23/12 10:50pm

Try something like

If[b > a,
y = (a x^3 + b x^2 + c x )/(b - a );
Plot1 = Plot[{y}, {x, 0, 1}, AxesOrigin -> {0, 0}],
Plot[Null, {x, 0, 1}, AxesOrigin -> {0, 0},
Epilog -> Inset[Style["b must be greater than a", Large]]]
],

The Plot[Null,...] produces axes but no graph. Epilog adds graphics to a plot. Inset sticks material in the middle by default.

URL: ,

Subject (listing for 'Creating error message in Manipulate?')
Author Date Posted
Creating error message in Manipulate? IN88 06/22/12 05:57am
Re: Creating error message in Manipulate? Michael 06/23/12 10:50pm
Re: Re: Creating error message in Manipulate? IN88 06/25/12 03:51am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic