File:Alpha Centauri relative sizes.svg

From Wikibooks, open books for an open world
Jump to: navigation, search
Alpha_Centauri_relative_sizes.svg(SVG file, nominally 452 × 164 pixels, file size: 17 KB)

Contents

[edit] Summary

Description
English: A comparison of the sizes and colors of the stars in the Alpha Centauri system with the Sun.
Español: Comparación del tamaño y color de las tres estrellas de Alfa Centauri con nuestro sol.
Date

Original bitmap uploaded January 29, 2005, SVG version uploaded 2007-07-10.

Source

SVG rendering of the program used to generate the bitmap image Image:Alpha_Centauri_relative_sizes.png

Author
Permission
(Reusing this file)
See below.
Other versions Bitmap rendering of almost identical program: Image:Alpha_Centauri_relative_sizes.png

[edit] Source code

Metapost-icon.svg
This vector image was created with MetaPost. For MetaPost source code please see below.

Created with w:MetaPost using the following input file:

prologues := 3;

verbatimtex
\font\foo=cmss9 at 10pt
\foo
etex

sunrad=0.3in;
alpharad = 1.227*sunrad;
betarad = 0.865*sunrad;
proximarad = 0.145*sunrad;
gap = 0.8*sunrad;

pair sunpos, alphapos, betapos, proximapos;
sunpos = (0 + gap + sunrad, 1.9*sunrad);
alphapos = sunpos + (sunrad + gap + alpharad, 0);
betapos = alphapos + (alpharad + gap + betarad, 0);
proximapos = betapos + (betarad + gap + proximarad, 0);

beginfig(1);

  fill unitsquare xscaled ((xpart proximapos) + proximarad + gap)
    yscaled (2 * (ypart sunpos));

  fill fullcircle scaled (2*sunrad) shifted sunpos
    withcolor (1,0.960,0.949);   % Color is fff1ed
  label.bot(btex Sun etex, sunpos - (0, sunrad)) withcolor white;

  fill fullcircle scaled (2*alpharad)
    shifted alphapos
    withcolor (1,0.960,0.949);
  label.bot(btex $\alpha$ Centauri A etex, alphapos - (0, alpharad))
    withcolor white;

  fill fullcircle scaled (2*betarad)
    shifted betapos
    withcolor (1,0.878,0.737);  % ffe0bc
  label.bot(btex $\alpha$ Centauri B etex, betapos - (0, betarad))
    withcolor white;

  fill fullcircle scaled (2*proximarad)
    shifted proximapos
    withcolor (1,0.752,0.411);  % ffcc6f
  label.bot(btex Proxima etex, proximapos - (0, proximarad))
    withcolor white;

endfig;
end;

The following commands were used to compile this into an SVG file:

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

[edit] References

  • I took the star colors from [1], which indicates they're only approximate. Apparently there are inherent difficulties in representing a star's color on a computer monitor.
  • I took the star radii from [2].

[edit] Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 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 attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • share alike – If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
This licensing tag was added to this file as part of the GFDL licensing update.

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic 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 attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • share alike – If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

You may select the license of your choice.

[edit] derivative works

Derivative works of this file:

File history

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

Date/TimeThumbnailDimensionsUserComment
current23:22, 9 July 2008Thumbnail for version as of 23:22, 9 July 2008452 × 164 (17 KB)Qef ({{Information |Description={{en|1={{en|A comparison of the sizes and colors of the stars in the Alpha Centauri system with the Sun.}} {{es|Comparación del tamaño y color de las tres estrellas de Alfa Centauri con nuestro sol.}}}} |S)

There are no pages that link to this file.

Global file usage

The following other wikis use this file:

Metadata

Personal tools
Namespaces
Variants
Views
Actions
Navigation
Community
Toolbox
Sister projects