File:Parabola circle.svg

From formulasearchengine
Jump to navigation Jump to search

Original file(SVG file, nominally 440 × 240 pixels, file size: 19 KB)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

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.
 
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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

12 December 2014

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current01:07, 30 December 2019Thumbnail for version as of 01:07, 30 December 2019440 × 240 (19 KB)wikimediacommons>Mikhail Ryazanovminuses, not hyphens

There are no pages that use this file.