Thanks for reply, Can you tell me how should I change the ratio? On Wednesday, April 16, 2014 1:40:04 PM UTC+4:30, John Cremona wrote: > > For both graphs you have set the x-range to -10..10 but the y-ranges are > different, and the graph has been scaled so that (as you can see from the > axes) the aspect ratio is not 1:1. > > Try specifying equal y-ranges as well as equal x-ranges. > > John Cremona > > > On 16 April 2014 08:29, omid habibi <omi...@gmail.com <javascript:>>wrote: > >> Suppose we have two equations >> p1 = 3x+ 1 >> p2 = -1/3x + 3 >> >> As you may know because of slopes, these two lines must be perpendicular. >> It's true when I plot it on paper but when I do it in SageMath I get this: >> >> sage: p1 = plot( 3*x + 1, -10, 10) >> sage: p2 = plot( -1/3*x + 3, -10, 10) >> sage: show ( p1 + p2 ) >> >> >> >> <http://up.liz.ir/f/6364-tmp_N1rNk.png> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sage-support...@googlegroups.com <javascript:>. >> To post to this group, send email to sage-s...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/sage-support. >> For more options, visit https://groups.google.com/d/optout. >> > >
-- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.