File:As wiki lgm levelsets.svg

From testwiki
Jump to navigation Jump to search

Original file(SVG file, nominally 512 × 421 pixels, file size: 50 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 showing level sets of a paraboloid and two line constraints.
Date (UTC)
Source This file was derived from: As wiki lgm levelsets.png
Author


This is a retouched picture, which means that it has been digitally altered from its original version. Modifications: Vector version. The original can be viewed here: As wiki lgm levelsets.png. Modifications made by Zerodamage.

Licensing

w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 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.

Source code

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

 
The SVG code is valid.
 
This diagram was created with MATLAB.

Source code

InfoField

MATLAB code

figure (2);
hold off;
ezplot(['-y + ' num2str(l1_slope) '*x +' num2str(l1_b)]);
hold on;
ezplot(['-y + ' num2str(l2_slope) '*x +' num2str(l2_b)]);
ezcontour(parab, 30);
set(gcf, 'Color', 'White');
title('');

%text boxes and arrows
% Create arrow
annotation(gcf,'arrow',[0.312292358803987 0.36046511627907],...
    [0.807851239669422 0.700413223140496]);

% Create arrow
annotation(gcf,'arrow',[0.330564784053156 0.441860465116279],...
    [0.81198347107438 0.652892561983471]);

% Create arrow
annotation(gcf,'arrow',[0.299003322259136 0.317275747508306],...
    [0.801652892561983 0.741735537190083]);

% Create textbox
annotation(gcf,'textbox',...
    [0.200996677740864 0.796520661157025 0.187707641196013 0.0723140495867769],...
    'String',{'level sets'},...
    'FontSize',15,...
    'EdgeColor','none');

% Create textarrow
annotation(gcf,'textarrow',[0.654485049833887 0.60797342192691],...
    [0.264462809917355 0.208677685950413],'TextEdgeColor','none',...
    'HorizontalAlignment','left',...
    'FontSize',15,...
    'String',{'constraint 2'});

% Create textarrow
annotation(gcf,'textarrow',[0.714285714285714 0.662790697674419],...
    [0.632231404958678 0.681818181818182],'TextEdgeColor','none',...
    'HorizontalAlignment','left',...
    'FontSize',15,...
    'String',{'constraint 1'});

%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:

  • File:As_wiki_lgm_levelsets.png licensed with PD-self
    • 2010-05-25T19:09:04Z Andrebis 560x420 (18026 Bytes) {{Information |Description={{en|1=Graph showing level sets of a paraboloid and two line constraints.}} |Source={{own}} |Author=[[User:Andrebis|Andrebis]] |Date=2001-05-25 |Permission= |other_versions= }} Useful in visualizing

Uploaded with derivativeFX

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/svg+xml

888995b1993c615aea2e367c6dd94be1212e08d2

51,429 byte

421 pixel

512 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current11:06, 8 August 2012Thumbnail for version as of 11:06, 8 August 2012512 × 421 (50 KB)wikimediacommons>Zerodamagemargins

The following page uses this file: