跳转到内容

File:Heronian trig.png

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

Heronian_trig.png(212 × 144像素,文件大小:2 KB,MIME类型:image/png


摘要

描述 La bildo estas kopiita de wikipedia:en. La originala priskribo estas:
日期 2006年3月18日 (原始上传日期)
来源 自己的作品
作者 Maksim

许可协议

Public domain 我,本作品著作权人,释出本作品至公有领域。这适用于全世界。
在一些国家这可能不合法;如果是这样的话,那么:
我无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。

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

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

原始上传日志

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.

File:Triangle-heronian.svg是此文件的矢量版本。 如果此文件质量不低于原点阵图,就应该将这个PNG格式文件替换为此文件。

File:Heronian trig.png → File:Triangle-heronian.svg

更多信息请参阅Help:SVG/zh

其他语言
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
新SVG图片

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2023年8月30日 (三) 06:402023年8月30日 (三) 06:40版本的缩略图212 × 144(2 KB)PhreneticcA little redone for the better.
2022年5月22日 (日) 06:032022年5月22日 (日) 06:03版本的缩略图214 × 151(2 KB)PhreneticcReduced "weight" of the file.
2007年9月29日 (六) 22:222007年9月29日 (六) 22:22版本的缩略图214 × 151(4 KB)Sopoforicoptimized with optipng
2006年3月18日 (六) 21:012006年3月18日 (六) 21:01版本的缩略图214 × 151(5 KB)MaksimLa 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

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件: