# Author: Ika# Date: 12/11/2014settermsvgfont'Times, 18'size500,300setoutput'parabola_circle.svg'# In this program, the parabola equation is y = x^2.# The circle equation is x^2 + (y-0.5)^2 = 1/4.# We make it parametric as x = sin(t), y = 0.5 + cos(t).setmultiplot# The ratio of the height and width of the plot chart is 1/2 = 0.5.setsizeratio0.5setxrange[-1:1]setyrange[0:1]# Unit along the axes is 0.5.setxtics0.5setytics0.5# Draw the axes.setxzeroaxislt-1lcrgb"black"lw1setyzeroaxislt-1lcrgb"black"lw1setgridunsetlabelsetkeyoff# Draw the parabola y=x^2.plotx*xlcrgb"black"lw2;# Draw the circle by using the parametric equations.setparametricsettrange[0:2*pi]plot0.5*sin(t),0.5+0.5*cos(t)lcrgb"red"lw3;unsetmultiplotsettermx11setoutput
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
original creation by uploader<\/a>"}},"text\/plain":{"en":{"P7482":"original creation by uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">