File:Heronian trig.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Heronian_trig.png (212 × 144 pixels, file size: 2 KB, MIME type: image/png)
File information
Structured data
Captions
Summary
[edit]DescriptionHeronian trig.png | La bildo estas kopiita de wikipedia:en. La originala priskribo estas: |
Date | 18 March 2006 (original upload date) |
Source | Own work |
Author | Maksim |
Licensing
[edit]Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
The picture was done in Matlab, with source code below. The conversion from eps to png format was done with the Unix command convert:
- convert -antialias -density 400x400 -scale 10% Heronian_trig.eps Heronian_trig.png
Source code
[edit]function main () %prepare the screen figure(1); clf; hold on; axis equal; axis off; % points to graph P=[-12, 0]; Q=[0, 0]; R=[32, 0]; S=[0, 24]; % text fontsize, line thickness, distance from text to graphics fs=30; thick=3; dist=fs*0.1; or=1; % to which side of a given segment the text should go % draw the segments side(P, Q, or, thick, dist, fs, 'b') side(Q, R, or, thick, dist, fs, 'd') side(R, S, or, thick, dist, fs, 'e') side(S, P, or, thick, dist, fs, 'c') side(S, Q, -or, thick, dist, fs, 'a') % save as eps. saveas(gcf, 'Heronian_trig.eps', 'psc2'); % Use later the command % convert -antialias -density 400x400 -scale 10% Heronian_trig.eps Heronian_trig.png % to convert to PNG. This keeps small size but good detail. % a function to draw a segment and put some text a bit to a side of it. function side(P, Q, or, thick, dist, fs, name) plot([P(1) Q(1)], [P(2), Q(2)], 'linewidth', thick); v=[(Q(2)-P(2)), -(Q(1)-P(1))]; % PQ rotated by 90 deg clockwise if or < 0 v=-v; % change orientation end R=(P+Q)/2+dist*v/max(abs(v)); H=text(R(1), R(2), name); set(H, 'fontsize', fs, 'VerticalAlignment', 'c', 'HorizontalAlignment', 'c')
date/time | username | edit summary |
---|---|---|
00:41, 13 September 2005 | en:User:Oleg Alexandrov | (source code) |
23:38, 12 September 2005 | en:User:Oleg Alexandrov |
Original upload log
[edit]Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.
- (del) (cur) 23:38, 12 September 2005 . . en:User:Oleg_Alexandrov Oleg Alexandrov ( en:User_talk:Oleg_Alexandrov Talk) . . 214x151 (4747 bytes)
File:Triangle-heronian.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.
File:Heronian trig.png → File:Triangle-heronian.svg
For more information, see Help:SVG.
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 06:40, 30 August 2023 | 212 × 144 (2 KB) | Phreneticc (talk | contribs) | A little redone for the better. | |
06:03, 22 May 2022 | 214 × 151 (2 KB) | Phreneticc (talk | contribs) | Reduced "weight" of the file. | ||
22:22, 29 September 2007 | 214 × 151 (4 KB) | Sopoforic (talk | contribs) | optimized with optipng | ||
21:01, 18 March 2006 | 214 × 151 (5 KB) | Maksim (talk | contribs) | La bildo estas kopiita de wikipedia:en. La originala priskribo estas: == Licensing == {{PD-self}} The picture was done in Matlab, with source code below. The conversion from eps to png format was done with the Unix command convert: :convert -antialias |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on be-tarask.wikipedia.org
- Usage on de.wikipedia.org
- Usage on he.wiktionary.org
- Usage on ja.wikipedia.org
- Usage on pt.wiktionary.org
- Usage on th.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on uk.wikiquote.org
- Usage on vi.wikipedia.org
- Usage on zh.wikipedia.org