File:Asymptote02 vectorial.svg

Original file(SVG file, nominally 720 × 540 pixels, file size: 167 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

edit
Description
English: Example of a curve with its asymptote shows that the curve may intersect the asymptote, in this case an infinite amount of times.
Date
Source Own work
Author Guillaume Jacquenot
SVG development
InfoField
 
The source code of this SVG is invalid due to 138 errors.
 
This W3C-invalid plot was created with Matplotlib.
Source code
InfoField

Python code

# -*- coding: utf-8 -*-
#
# Script to generate an asymptote curve.
#
# **************************************************************
# Example of a curve with its asymptote
# shows that the curve may intersect the asymptote,
# in this case an infinite amount of times.
# **************************************************************
#
# Guillaume Jacquenot
# 2013 03 20

import numpy as np
import matplotlib
from matplotlib.pyplot import figure, show, rc, grid

def makePlot(outputFilename = r'Asymptote02.svg'):
    rc('grid', linewidth = 1, linestyle = '-', color = '#a0a0a0')
    rc('xtick', labelsize = 15)
    rc('ytick', labelsize = 15)
    rc('font',**{'family':'serif','serif':['Palatino'],'size':15})
    rc('text', usetex=True)

    fig = figure()
    ax = fig.add_axes([0.12, 0.12, 0.76, 0.76])#axisbg='#d5de9c'
    n = 14
    t = np.arange(0.07,12.0,0.01)
    x = t + np.cos(n*t)/t
    y = t + np.sin(n*t)/t
    ax.plot(x, y, color='#ee8d18', lw = 2)
    ax.plot([-4,12], [-4,12], lw = 1, ls = '--', color = 'k')
    ax.set_aspect('equal')
    grid(True)
    ax.set_xlabel('$x$')
    ax.set_ylabel('$y$',rotation=0)
    ax.set_title(r'$x=t+\frac{\cos(nt)}{t}, y=t+\frac{\sin(nt)}{t}, t>0, n = '+str(n)+r'$',
                 fontsize=15)
    fig.savefig(outputFilename)
    fig.show()

makePlot()

Licensing

edit
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 3.0 Unported 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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current10:44, 23 March 2013Thumbnail for version as of 10:44, 23 March 2013720 × 540 (167 KB)Gjacquenot (talk | contribs)Fix a title error Increase curve resolution, so that it looks smooth everywhere
22:53, 20 March 2013Thumbnail for version as of 22:53, 20 March 2013720 × 540 (160 KB)Gjacquenot (talk | contribs)User created page with UploadWizard

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata