File:Twisted Hessian curve.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 590 × 575 pixels, file size: 23 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: Twisted hessian curve given by 10x3+y3+1=15xy.
    Date
    Source Own work
    Author Krishnavedala
    SVG development
    InfoField
     The SVG code is valid.
     This plot was created with Matplotlib by KrishnaVedala.
    Source code
    InfoField

    Python code

    source code
    import numpy as np
    import matplotlib.pyplot as plt
    from mpl_toolkits.axisartist.axislines import SubplotZero
    
    delta = 0.01
    x = np.arange(-3, 3, delta)
    y = np.arange(-4, 4, delta)
    X, Y = np.meshgrid(x, y)
    Z = (10 * (X**3)) + (Y**3) - (15 * X * Y) + 1
    
    fig = plt.figure(figsize=(8,8))
    ax = SubplotZero(fig, 1, 1, 1)
    fig.add_subplot(ax)
    
    ax.contour(X, Y, Z, [0], colors='red')
    ax.grid(True)
    
    for border in ['left','right','top','bottom']:
        ax.axis[border].set_visible(False)
    
    ax.axis['xzero'].set_visible(True)
    ax.axis['yzero'].set_visible(True)
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    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.
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    You may select the license of your choice.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    23 May 2011

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current20:13, 24 April 2018Thumbnail for version as of 20:13, 24 April 2018590 × 575 (23 KB)wikimediacommons>Krishnavedalacurve identified in "red" color

    There are no pages that use this file.