File:As wiki lgm parab.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 512 × 414 pixels, file size: 726 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: Graph of a paraboloid, its level sets and two line constraints.
    Date
    Source Own work based on: As wiki lgm parab.png by Andrebis
    Author  
    Vector:
    SVG development
    InfoField
     The SVG code is valid.
     This diagram was created with MATLAB.
      This file uses embedded text that can be easily translated using a text editor.

    Licensing

    Zerodamage, the copyright holder of this work, hereby publishes 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.
    Attribution:
    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.

    Source code

    The graph was made in Matlab with the following source code. Corrected in Inkscape

    % draw paraboloid level sets with lwo line constraints
    
    parab = '(2*x)^2 + (3*y)^2 + 10';
    
    l1_slope = 1.5;
    l1_b = -1;
    
    l2_slope = -1/l1_slope;
    l2_b = l1_b-3;
    
    figure (1);
    
    hold off;
    surface = ezsurf(parab);
    
    hold on;
    ezplot(['-y + ' num2str(l1_slope) '*x +' num2str(l1_b)]);
    ezplot(['-y + ' num2str(l2_slope) '*x +' num2str(l2_b)]);
    ezcontour(parab, 30);
    set(gcf, 'Color', 'White');
    title('');
    
    %bug workaround to make Z-axis appear
    set(surface,'MarkerEdgeColor','none');
    set(surface,'Marker','+');
    
    %set shading
    shading flat;
    
    %plot2svg must be retrieved from http://www.zhinst.com/blogs/schwizer/
    plot2svg;
    

    Original upload log

    This image is a derivative work of the following images:

    • As wiki lgm parab.png licensed with PD-self
      • 2010-05-25T19:03:37Z Andrebis 560x420 (39342 Bytes) {{Information |Description={{en|1=Graph of a paraboloid, its level sets and two line constraints.}} |Source={{own}} |Author=[[User:Andrebis|Andrebis]] |Date=2010-05-25 |Permission= |other_versions= }} Useful for visualizing t

    Uploaded with derivativeFX

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    8 August 2012

    image/svg+xml

    5df5572eb4d39faea48b831b8cddab367a3172bb

    743,033 byte

    414 pixel

    512 pixel

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current11:05, 8 August 2012Thumbnail for version as of 11:05, 8 August 2012512 × 414 (726 KB)wikimediacommons>ZerodamageLayers, margins, scale bottom layer

    There are no pages that use this file.