File:ArclengthSegment.svg

Uploaded by Nicoguaro
Upload date 2016-02-12T15:13:04Z
MIME type image/svg+xml
Dimensions 715 × 738 px
File size 17.5 KB

Summary

Description
English: A representative linear element of the function y=t 5, x = t 3.
Español: Un elemento lineal representativo para la función y=t 5, x = t 3.
Date
Source Own work
Author Nicoguaro
SVG development
InfoField
 The SVG code is valid.
 This plot was created with Matplotlib.
Source code
InfoField

Python code

from __future__ import division
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import rcParams

rcParams['font.size'] = 16


t = np.linspace(-1.1, 1.1)
x = t**3
y = t**5

fig = plt.figure(figsize=(10, 10))
ax = fig.add_subplot(1, 1, 1)
plt.plot(x, y, 'r', lw=2, )
plt.plot([0.4, 1], [0.4**1.667, 1**1.667], 'k', lw=2)
plt.plot([0.4, 1], [0.4**1.667, 0.4**1.667], 'k', lw=2)
plt.plot([1, 1], [0.4**1.667, 1**1.667], 'k', lw=2)
plt.annotate(r'$d x$', xy=(0.7, 0.1))
plt.annotate(r'$d y$', xy=(1.05, 0.5))
plt.annotate(r'$d s$', xy=(0.5, 0.5))
ax.spines['left'].set_position('zero')
ax.spines['right'].set_color('none')
ax.spines['bottom'].set_position('zero')
ax.spines['top'].set_color('none')
ax.spines['left'].set_smart_bounds(True)
ax.spines['bottom'].set_smart_bounds(True)
plt.axis([-1.5, 1.5, -1.5, 1.5])
plt.xticks([-1, -0.5, 0.5, 1], [-1, -0.5, 0.5, 1])
plt.yticks([-1, -0.5, 0.5, 1], [-1, -0.5, 0.5, 1])
plt.savefig('ArclengthSegment.svg', bbox_inches='tight')
plt.show()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

12 February 2016

image/svg+xml

da5db3f669d61060c60f49ba51d3c2e4290cf542

17,953 byte

738 pixel

715 pixel

Category:Arc length Category:CC-BY-4.0 Category:Differential geometry Category:Self-published work Category:Valid SVG created with Matplotlib code