Attēls:Moment of inertia solid sphere.svg

Lapas saturs netiek atbalstīts citās valodās.
Vikipēdijas lapa

Sākotnējais fails(SVG fails, definētais izmērs 277 × 255 pikseļi, faila izmērs: 11 KB)

Kopsavilkums

Apraksts
English: Illustration of the moment of inertia of a solid sphere.
Datums
Avots SVG rendering of the program used to generate the bitmap image Image:Moment_of_inertia_solid_sphere.png
Autors
  • Original MetaPost program by en:User:Grendelkhan
  • Program tweaked adjust axes labels and fill in the grey circle to match bitmap version and to avoid negative coordinates in PostScript output and rendered as SVG by Qef
SVG veidošana
InfoField
 
The SVG code is valid.
 
This vector image was created with MetaPost.
Pirmkods
InfoField

PostScript code

metapost-source
prologues := 3;

u=18mm;
textscale=u/12mm;

def sphere =
  begingroup;
  save pmax,dmax,persp,persp_nt,tens,arr;
  save rarrlft,rarrrt;
  save p,d;
  save axisprotrusion;
  save xax,yax,zax;
  pmax = 0; dmax = 1;
  persp_nt = 0.3;
  tens = 2-persp_nt;
  persp = persp_nt*u;
  arr = 0.3u; % how far to offset the arrows from the diagram
  axisprotrusion = 0.3u;  % how far do the axes protrude?
  pair rarrlft,rarrrt; % endpoints for arrows
  path p[],d[]; % just plain paths for now
  pair xax[],yax[],zax[]; % x,y,z are taken; these are for the axes
  % solid paths
  p0 = fullcircle scaled 2u;
  % dotted paths
  d0 = halfcircle scaled u xscaled 2 yscaled (2*persp_nt);
  d1 = halfcircle scaled u xscaled 2 yscaled (2*persp_nt) rotated 180;
  % endpoints of dimension arrows
  rarrlft = (0,0);
  rarrrt = (sqrt(0.5)*u,sqrt(0.5)*u);

  % actually draw
  pickup pencircle scaled 1pt;
  for i=0 upto pmax:
    fill p[i] withcolor (0.86, 0.86, 0.86);
    draw p[i];
  endfor;
  for i=0 upto dmax:
    draw d[i] dashed evenly;
  endfor;
  drawdblarrow (rarrlft..rarrrt);
  label.top(btex $r$ etex scaled textscale,.5[rarrlft,rarrrt]);
  % x axis
  xax0 = (0,0);
  xax1 = (1u,0);
  xax2 = (1u+axisprotrusion,0);
  drawarrow (xax1..xax2);
  draw xax0..xax1 dashed evenly;
  label.rt(btex $y$ etex scaled textscale,xax2);
  % y axis
  yax0 = (0,0);
  yax1 = point 1 of d1;
  yax2 = (1.3+axisprotrusion/u)[yax0,yax1];
  drawarrow (yax1..yax2);
  draw yax0..yax1 dashed evenly;
  label.bot(btex $x$ etex scaled textscale,yax2);
  % z axis
  zax0 = (0,0);
  zax1 = (0,1u);
  zax2 = (0,1u+axisprotrusion);
  drawarrow (zax1..zax2);
  draw zax0..zax1 dashed evenly;
  label.top(btex $z$ etex scaled textscale,zax2);
  endgroup;
enddef;

beginfig(1)
  sphere;
  currentpicture := currentpicture shifted (100,100); % avoid unwanted clipping
endfig;
end

Data

mpost fig.mp
ps2pdf -dEPSCrop fig.1 fig.pdf
pstoedit -page 1 -dt -xscale 2 -yscale 2 -f sk fig.pdf fig.sk
inkscape -z --vacuum-defs -f fig.sk -l fig.svg

Licence

Grendelkhan at the English Wikipedia, šī darba autortiesību īpašnieks, publicē to saskaņā ar šo licenci:
GNU head Ir dota atļauja kopēt, izplatīt un/vai pārveidot šo dokumentu saskaņā ar GNU brīvās dokumentācijas licences, versijas 1.2 vai jebkuras vēlākas versijas, ko publiskojis Brīvās programmatūras fonds nosacījumiem; bez nemainīgajām sadaļā, priekšējā un aizmugurēja'vāka tekstiem. Licences kopija ir iekļauta sadaļā ar nosaukumu GNU brīvās dokumentācijas licence.
w:en:Creative Commons
atsaucoties nemainot licenci
Šis fails tiek izplatīts saskaņā ar licences Creative Commons Atsauce-Līdzīgi Noteikumi 3.0 Vispārējiem noteikumiem.
Atsauce: Grendelkhan at the English Wikipedia
Jūs varat brīvi:
  • koplietot – kopēt, izplatīt un pārraidīt darbu
  • remiksēt – pielāgot darbu
Saskaņā ar šādiem nosacījumiem:
  • atsaucoties – Tev ir jānorāda autors, saite uz licenci un to, vai veiktas kādas izmaiņas. To var darīt jebkādā saprātīgā veidā, bet ne tādā, kas norādītu, ka licencētājs atbalsta tevi vai veidu, kā tu izmanto šo darbu.
  • nemainot licenci – Ja tu miksē, pārveido vai izmanto materiālu, tev savs devums jāpublicē ar to pašu vai saderīgu licenci kā oriģināls.
This licensing tag was added to this file as part of the GFDL licensing update.

Captions

Pievieno vienas rindiņas aprakstu, ko šis fails attēlo
Illustration of the moment of inertia of a solid sphere.

Šajā failā attēlotais

attēlo

9 jūlijs 2008

Faila hronoloģija

Uzklikšķini uz datums/laiks kolonnā esošās saites, lai apskatītos, kā šis fails izskatījās tad.

Datums/LaiksAttēlsIzmēriDalībnieksKomentārs
tagadējais2008. gada 10. jūlijs, plkst. 01.362008. gada 10. jūlijs, plkst. 01.36 versijas sīktēls277 × 255 (11 KB)Qef{{Information |Description={{en|1=Illustration of the moment of inertia of a solid sphere.}} |Source=SVG rendering of the program used to generate the bitmap image Image:Moment_of_inertia_solid_sphere.png |Author=* Original MetaPost program by [[en:U

Šo failu izmanto šajā 1 lapā:

Globālais faila lietojums

Šīs Vikipēdijas izmanto šo failu: