Re: [sage-support] Plotting equation of two perpendicular lines

2014-04-16 Thread omid habibi
e > 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 >wrote: > >> Suppose we have two equations >> p1 = 3x+ 1 >> p2 = -1/3x + 3 >>

[sage-support] Plotting equation of two perpendicular lines

2014-04-16 Thread omid habibi
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 +