Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem with Colorfunction of sin functions' topicStudent Support Forum > General > "Problem with Colorfunction of sin functions"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
05/16/13 9:33pm

I am only guessing, perhaps you wish the sine to be black from your red point to the right side of the plot. If so then change

ColorFunction->Function[{x,y}, Piecewise[{{Red, x < xOben/\[Pi]}}, Black]]]

to

ColorFunction->Function[{x,y}, Piecewise[{{Red, 4 x < xOben/\[Pi]}}, Black]]]

I have looked at your code and I have not been able to find exactly where the 4* is introduced.

If there are other things you believe are incorrect and you can clearly describe exactly what to look at then perhaps someone can find a solution.

URL: ,

Subject (listing for 'Problem with Colorfunction of sin functions')
Author Date Posted
Problem with Colorfunction of sin functions TonyD 05/15/13 4:58pm
Re: Problem with Colorfunction of sin functions Bill Simpson 05/16/13 9:33pm
< Previous CommentHelp | Reply To Comment | Reply To Topic