Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Plot real portion of a graph' topicStudent Support Forum > General > "Plot real portion of a graph"

Next Comment >Help | Reply To Topic
Author Comment/Response
09/15/11 11:02am

I am trying to plot: Ln[x^2-6]-Ln[x] over x, -5 to 5. I know the function is not defined for x<SQRT[6](square root of 6). When specifying the PLOT range as [-5,5] I expect Mathematica not to chart anything below x<SQRT[6], but it does. My sintax is:

Plot[{Log[x^2 - 6] - Log[x]}, {x, -5, 5}]. I guess there should be some way to tell Mathematica to only plot the real part of a chart, to exclude any imaginary portion. Does such parameter exist, and what is it? Obviously, I could do it manually by restricting the range, but I am using mathematica as a discovery tool to confirm what I do manually.


Attachment: Excluding Imaginary Part in Mathematica.jpg, URL: ,

Subject (listing for 'Plot real portion of a graph')
Author Date Posted
Plot real portion of a graph JC 09/15/11 11:02am
Re: Plot real portion of a graph yehuda ben-s... 09/15/11 12:54pm
Re: Re: Plot real portion of a graph JC 09/15/11 9:23pm
Next Comment >Help | Reply To Topic