File:Parabola circle.svg

Summary

Description
English: The svg version of
Date
Source Own work
Author IkamusumeFan
SVG development
InfoField
 The SVG code is valid.
 This trigonometry was created with gnuplot.
Category:Valid SVG created with Gnuplot code#Parabola%20circle.svg
 This plot uses embedded text/digits.
Source code
InfoField

Gnuplot code

# Author: Ika
# Date: 12/11/2014

set term svg font 'Times, 18' size 500,300
set output '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).

set multiplot

# The ratio of the height and width of the plot chart is 1/2 = 0.5.
set size ratio 0.5
set xrange [-1:1]
set yrange [0:1]
# Unit along the axes is 0.5.
set xtics 0.5
set ytics 0.5
# Draw the axes.
set xzeroaxis lt -1 lc rgb "black" lw 1
set yzeroaxis lt -1 lc rgb "black" lw 1
set grid

unset label
set key off

# Draw the parabola y=x^2.
plot x*x lc rgb "black" lw 2;
# Draw the circle by using the parametric equations.
set parametric                              
set trange [0:2*pi]
plot 0.5*sin(t), 0.5+0.5*cos(t) lc rgb "red" lw 3;
	
unset multiplot

set term x11
set output

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • 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.
Category:CC-BY-SA-4.0#Parabola%20circle.svgCategory:Self-published work
Category:Parabolas
Category:CC-BY-SA-4.0 Category:Parabolas Category:Self-published work Category:Valid SVG created with Gnuplot code