Ask Your Question

test1234's profile - activity

2022-03-30 03:37:20 +0200 received badge  Popular Question (source)
2019-12-11 20:44:18 +0200 received badge  Famous Question (source)
2019-04-28 23:23:50 +0200 received badge  Notable Question (source)
2019-04-28 23:23:50 +0200 received badge  Popular Question (source)
2017-07-21 00:19:09 +0200 commented answer Graphics array without ticks

@kcrisman But I can't save the graphic anymore. Is it possible that I can save it too?

2017-07-15 09:16:53 +0200 asked a question Graphics array without ticks

Hello,

how can I create a graphics array consisting of 4 graphs without ticks? I tried this:

p1=plot(EllipticCurve([0,0,0,-1,2]), color='red', ticks=[[],[]])
p2=plot(EllipticCurve([0,0,0,1,-1]), color='red', ymin=-3, ymax=3, ticks=[[],[]])
p3=plot(EllipticCurve([0,0,0,-1,-1]), color='red', ymin=-4, ymax=4, ticks=[[],[]])
graphics_array(((p1,p2),(p3,p1)))

But it doesn't work. Only the last graphic is without ticks. Thank you very much! :)

2017-05-22 23:19:41 +0200 asked a question elliptic curves plot

The legend shows the functions twice. I don't like that. How can I change it, that the function is only once showed? Thank you :)

code:

p=plot(EllipticCurve([0,0,0,3,0]), gridlines='true', color=hue(0.7),xmin=-4, xmax=4, ymin=-3, ymax=3, legend_label='$y^2=x^3+3x$')
p+=plot(EllipticCurve([0,0,0,2,0]), gridlines='true', color='cornflowerblue',xmin=-4, xmax=4, ymin=-3, ymax=3, legend_label='$y^2=x^3+2x$')
p+=plot(EllipticCurve([0,0,0,1,0]), gridlines='true', color='red',xmin=-4, xmax=4, ymin=-3, ymax=3, legend_label='$y^2=x^3+x$')
p+=plot(EllipticCurve([0,0,0,-1,0]), gridlines='true', color='orange',xmin=-4, xmax=4, ymin=-3, ymax=3)
p+=plot(EllipticCurve([0,0,0,-2,0]), gridlines='true', color=hue(0.2),xmin=-4, xmax=4, ymin=-3, ymax=3, legend_label='$y^2=x^3-2x$')
p+=plot(EllipticCurve([0,0,0,-3,0]), gridlines='true', color=hue(0.3),xmin=-4, xmax=4, ymin=-3, ymax=3, legend_label='$y^2=x^3-3x$')
p+=point((-3,0), color='white', legend_label='$y^2=x^3-x$')

p.set_legend_options(shadow=False, loc=2)
show(p)
p.axes_labels(['$x$','$y$'])
p.save('Einleitung2.pdf')
2017-05-20 08:53:35 +0200 received badge  Student (source)
2017-05-19 19:25:47 +0200 commented answer Scale axis width=1 and height=1

Of course,

p3=plot(EllipticCurve([0,0,0,-3.141592654,1.414213562]), color='black', gridlines='true') show(p3) p3.axes_labels(['$x$','$y$']) p3.save('ec1.pdf')

2017-05-19 16:26:06 +0200 asked a question Scale axis width=1 and height=1

Hello,

I would like to scale the y-axis or the x-axis, so that the grid consists of squares with width=1 and also height=1. Because if i draw elliptic curves, it will deform them. Thank you very much!

Edit: apparently the code is

p3=plot(EllipticCurve([0,0,0,-3.141592654,1.414213562]), color='black', gridlines='true') 
show(p3)
p3.axes_labels(['x','y'])
p3.save('ec1.pdf')