Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'About Graphics' topicStudent Support Forum > General > Archives > "About Graphics"

Next Comment >Help | Reply To Topic
Author Comment/Response
Xuewen, Hao
01/23/05 10:32pm

Hello:

I have a question on plotting figures. There is always lines not required appearing in my results.

For example, if one Inputs the following command lines to a Mathematica and runs it, there will be a vertical line appears in the last figure. How can I stop the needless line?

-----command line begin-----
fig1 = Plot[1/5Sin[20(x - 10)] - x + 15, {x, 6.1, 10}, Frame -> None];
fig2 = Show[Graphics[{
Line[{{5.2, 5}, {10, 5}}]},
PlotRange -> {{-4.1, 4.1}, {-2.2, 2.2}}, AspectRatio -> Automatic]];
Show[fig1, fig2, PlotRange -> {{5.0, 46.5}, {2.8, 9.5}}, AspectRatio ->
Automatic]
-----command line end-----

Thank you for your comment.

URL: ,

Subject (listing for 'About Graphics')
Author Date Posted
About Graphics Xuewen, Hao 01/23/05 10:32pm
Re: About Graphics Forum Modera... 01/24/05 4:03pm
Next Comment >Help | Reply To Topic