<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sternwarte.uni-erlangen.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Falkner</id>
	<title>Remeis-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.sternwarte.uni-erlangen.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Falkner"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php/Special:Contributions/Falkner"/>
	<updated>2026-04-07T13:32:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Skivergnuegen_2023&amp;diff=2756</id>
		<title>Skivergnuegen 2023</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Skivergnuegen_2023&amp;diff=2756"/>
		<updated>2023-01-05T17:15:18Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Remeis Skifahren 2023''' The same procedure as every year ;-) &lt;br /&gt;
Hier werden die wichtigsten organisatorischen Dinge festgehalten. Jeder darf hier gerne editieren; wer keinen Account für das Wiki hat, muss sich bitte an jemanden wenden, der Zugang hat.&lt;br /&gt;
&lt;br /&gt;
[[File:154854 silvretta-montafon-panorama.jpeg|right|700px]]&lt;br /&gt;
&lt;br /&gt;
== Allgemeine Infos ==&lt;br /&gt;
&lt;br /&gt;
*Ferienwohnung(en):&lt;br /&gt;
**Wir kommen wieder unter im [https://www.grandau.at/montafon/zimmer/ferienhaus-enzian Haus Enzian] des [https://www.grandau.at/ Sporthotels Grandau].&lt;br /&gt;
**Adresse des Sporthotel: Montafonerstraße 274a, 6791 St. Gallenkirch, Österreich. Unsere Unterkünfte liegen im Türkeiweg.&lt;br /&gt;
&lt;br /&gt;
*Skigebiet: Montafon (Vorarlberg)&lt;br /&gt;
**Skigebiet Karte: https://winter.intermaps.com/montafon?lang=de&lt;br /&gt;
**Skipass Preise:  https://www.silvretta-montafon.at/de/onlineshop/ticket-uebersicht&lt;br /&gt;
**Wer nicht alle 7 Tage Skifahren möchte: Es gibt Angebote wie z.B. 5 aus 6, mit einem solchen Skipass kann man innerhalb von 6 Tagen an 5 beliebigen Tagen skifahren.&lt;br /&gt;
&lt;br /&gt;
*Skiverleih: [http://www.sportharry.at/ Sport Harry], direkt an der Talstation.&lt;br /&gt;
&lt;br /&gt;
== Unterkunft ==&lt;br /&gt;
=== Aufteilung ===&lt;br /&gt;
&lt;br /&gt;
Dieses Jahr gibt es nur die Hütte mit folgenden Zimmern (wir sind insgesamt 14, also bleiben keine Plätze frei).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Zimmer&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Insassen&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2-er&lt;br /&gt;
| Amy, Aafia&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3-er&lt;br /&gt;
| Jakob, Max, Katya&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4-er&lt;br /&gt;
| Eva, Steffen, Flo, Christian&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5-er&lt;br /&gt;
| Basti, Philipp&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Fahrer ==&lt;br /&gt;
Fahrer können sich hier eintragen und Eckdaten angeben. Diejenige, die mitfahren möchten, sprechen sich mit den Fahrern ab und tragen sich ebenfalls ein. Klärt bitte auch die Gepäcklage, ggf. kann ein anderer Fahrer z.B. Skiausrüstung mitnehmen.&lt;br /&gt;
&lt;br /&gt;
'''Auf der Suche nach einer Mitfahrgelegenheit: '''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Fahrer&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | # Plätze&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Anreise&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Mitfahrer Anreise&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Abreise&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Mitfahrer Abreise&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Skimitnahme&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Kommentar&lt;br /&gt;
|-&lt;br /&gt;
|Eva&lt;br /&gt;
|0(3)&lt;br /&gt;
|Samstag&lt;br /&gt;
|Steffen+Christian&lt;br /&gt;
|Samstag?&lt;br /&gt;
|Steffen+Christian&lt;br /&gt;
|eigene ja&lt;br /&gt;
|Auto ist voll&lt;br /&gt;
|-&lt;br /&gt;
|Max&lt;br /&gt;
|0(3)&lt;br /&gt;
|Samstag (from Arlberg)&lt;br /&gt;
|Jakob+Katya&lt;br /&gt;
|Samstag&lt;br /&gt;
|Jakob+Katya&lt;br /&gt;
|eigene ja&lt;br /&gt;
|Auto ist voll&lt;br /&gt;
|-&lt;br /&gt;
|Basti&lt;br /&gt;
|2(2)&lt;br /&gt;
|Sunday (early morning)&lt;br /&gt;
|&lt;br /&gt;
|Friday (lunch time)&lt;br /&gt;
|&lt;br /&gt;
|Ja&lt;br /&gt;
|I will be at the airport NUE (alternative meeting point would be Nuremberg trainstation)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Schwarzes Brett ==&lt;br /&gt;
&lt;br /&gt;
=== Essen ===&lt;br /&gt;
Hier gibt's den Essensplan, soweit übernommen von den letzten Jahren. Da wir sehr viele Leute sind, sollten wir wieder vorab grob planen, was wir kochen wollen. Wir können einige Dinge in Deutschland besorgen und mitnehmen, es gib aber auch einen nahe gelegen Supermarkt. Generelle Dinge, wie z.B. Gewürze oder Aufstriche für Frühstücksbrötchen könnte man auch mitbringen.&lt;br /&gt;
&lt;br /&gt;
Wer Kochvorschläge oder andere Ideen hat, gerne unten eintragen und kommentieren. Bedenkt, dass die Zubereitung (relativ) einfach sein sollte. Da sich die Liste in den letzten Jahren gut bewaehrt hat, behalten wir sie bei, aber die Reihenfolge/Tage kann man sicher noch hin und her bewegen. Einige (wenige) Sachen müssen wir dann manchmal trotzdem noch beim Spar kaufen, da ja auch der Kühlschrank nur begrenzt Platz hat.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Essenplan:'''&lt;br /&gt;
*Samstag: Spaghetti Bolognese + veg. Bolognese&lt;br /&gt;
*Sonntag: Käse Spätzle&lt;br /&gt;
*Montag: Burritos&lt;br /&gt;
*Dienstag: Risotto&lt;br /&gt;
*Mittwoch: Gulasch&lt;br /&gt;
*Donnerstag: Kartoffeln mit Kräuter-Quark&lt;br /&gt;
*Freitag: Dal mit Reis  (od. Curry mit Suesskartoffeln )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Einkaufsliste von 2022 (letztes Jahr): https://docs.google.com/document/d/166b_mIXxmoAgcv1upIGremd_36E1fmwwxsQADP2uEv8/&lt;br /&gt;
&lt;br /&gt;
@Christian: Vegane Option entwender selbst mitbringen oder hier mit reinschreiben (falls man die einfach bekommt)&lt;br /&gt;
&lt;br /&gt;
=== Alkohol/Party ===&lt;br /&gt;
&lt;br /&gt;
=== Spiele ===&lt;br /&gt;
 &lt;br /&gt;
Immer lustig sind gemeinsame Spieleabende. Also, wer im Besitz von Gesellschaftsspielen ist, bringt diese gerne mit! Um eine Übersicht zu bekommen auch bitte hier eintragen:&lt;br /&gt;
&lt;br /&gt;
''* Spiele hier eintragen''&lt;br /&gt;
&lt;br /&gt;
=== Sonstiges ===&lt;br /&gt;
&lt;br /&gt;
=== Alternativprogramm ===&lt;br /&gt;
  *  Rodeln (http://www.montafon.at/de/urlaubswelten/echte_naturliebhaber/rodeln)&lt;br /&gt;
  *  Schneeschuhwandern (http://www.montafon.at/schneeschuhwanderungen)&lt;br /&gt;
  *  Therme (http://www.montafon.at/schwimmen), z.B. http://www.aqua-dome.at/de (ca. 130km entfernt!)&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1864</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1864"/>
		<updated>2019-05-21T14:32:20Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle ('''**Max**''') &lt;br /&gt;
** a beeper with button to start alarm (Jakob takes a look at this) &lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike (with trailer) + figure (maybe fierfighter figure by playmobile?) with colored hair and shoes of different color ('''**Basti**''')&lt;br /&gt;
* whiskey (ardberg supernova): klopfer bottle ('''**Simon/Basti**''')&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS?] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** BH as half sphere (styrofoam size of a tennis ball) ('''**Max**''')&lt;br /&gt;
** accretion disk made of colored wool ('''**Katya**''')&lt;br /&gt;
** clumpy wind: wool sheep on wire [similar like [https://i.pinimg.com/originals/3a/1e/e8/3a1ee866215e17f927e184652dc9a895.jpg Shaun das /Schaf]] ('''**Andrea**''')&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) ('''**Christian**''')&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat ('''**Matthias**''')&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator ('''**Max**''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1858</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1858"/>
		<updated>2019-05-11T18:10:29Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle ('''**Max**''') &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike (with trailer) + figure (maybe fierfighter figure by playmobile?) with colored hair and shoes of different color ('''**Basti**''')&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS?] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** BH as half sphere (styrofoam size of a tennis ball)&lt;br /&gt;
** accretion disk made of colored wool&lt;br /&gt;
** clumpy wind: wool sheep on wire [similar like [https://i.pinimg.com/originals/3a/1e/e8/3a1ee866215e17f927e184652dc9a895.jpg Shaun das /Schaf]] ('''**Andrea**''')&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) ('''**Christian**''')&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat ('''**Matthias**''')&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1857</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1857"/>
		<updated>2019-05-11T18:10:06Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle ('''**Max**''') &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike (with trailer) + figure (maybe fierfighter figure by playmobile?) with colored hair and shoes of different color ('''**Basti**''')&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS?] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** BH as half sphere (styrofoam size of a tennis ball)&lt;br /&gt;
** accretion disk made of colored wool&lt;br /&gt;
** clumpy wind: wool sheep on wire [similar like [https://i.pinimg.com/originals/3a/1e/e8/3a1ee866215e17f927e184652dc9a895.jpg Shaun das /Schaf]] ('''**Andrea**''')&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) ('''**Christian**''')&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat ('''**Matthias**'''s)&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1856</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1856"/>
		<updated>2019-05-11T18:08:47Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike (with trailer) + figure (maybe fierfighter figure by playmobile?) with colored hair and shoes of different color (**Basti**)&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS?] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** BH as half sphere (styrofoam size of a tennis ball)&lt;br /&gt;
** accretion disk made of colored wool&lt;br /&gt;
** clumpy wind: wool sheep on wire [similar like [https://i.pinimg.com/originals/3a/1e/e8/3a1ee866215e17f927e184652dc9a895.jpg Shaun das /Schaf]] (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1855</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1855"/>
		<updated>2019-05-11T17:58:32Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike (with trailer) + figure (maybe fierfighter figure by playmobile?) with colored hair and shoes of different color (**Basti**)&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep [similar like [https://i.pinimg.com/originals/3a/1e/e8/3a1ee866215e17f927e184652dc9a895.jpg Shaun das /Schaf]] (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1854</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1854"/>
		<updated>2019-05-09T07:09:05Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike with trailer + figure with colored hair and shoes of different color&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1853</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1853"/>
		<updated>2019-05-09T07:08:01Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike with trailer + figure with colored hair and shoes of different color&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1852</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1852"/>
		<updated>2019-05-09T07:06:57Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== PhD Hat for Maria ==&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
** this actually includes paramedic training (with ride-alongs in ambulances)&lt;br /&gt;
** first-aid @ Remeis&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
** line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== building plan ==&lt;br /&gt;
&lt;br /&gt;
====== Private ======&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike with trailer + figure with colored hair and shoes of different color&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
====== Work ======&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1851</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1851"/>
		<updated>2019-05-09T07:06:09Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
** this actually includes paramedic training (with ride-alongs in ambulances)&lt;br /&gt;
** first-aid @ Remeis&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
** line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== building plan ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* Cycling from Erlangen to Remeis&lt;br /&gt;
** ESTW smokestack + canal leading to observatory + bike with trailer + figure with colored hair and shoes of different color&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor: best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat; Images: /home/falkner/work/PhDhat)&lt;br /&gt;
* first-aider @ remeis: first-aid kit &amp;amp; defibrillator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1849</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1849"/>
		<updated>2019-05-07T07:19:09Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
** this actually includes paramedic training (with ride-alongs in ambulances)&lt;br /&gt;
** first-aid @ Remeis&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* sheep!&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
** line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== building plan ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* mit dem Fahrrad nach Remeis (von Erlangen): ESTW smokestack + canal leading to observatory + bike with trailer&lt;br /&gt;
* whiskey (ardberg supernova)&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor&lt;br /&gt;
** best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat, still looking for the images)&lt;br /&gt;
** https://pbs.twimg.com/media/DfVoxMjWsAEsz12.jpg:small&lt;br /&gt;
** https://visit.cern/sites/visits.web.cern.ch/files/images/image/shop-21.jpg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1848</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1848"/>
		<updated>2019-05-06T13:46:47Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
** this actually includes paramedic training (with ride-alongs in ambulances)&lt;br /&gt;
** first-aid @ Remeis&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* sheep!&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
** line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat, still looking for the images)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== building plan ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* mit dem Fahrrad nach Remeis (von Erlangen): ESTW smokestack + canal leading to observatory + bike with trailer&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor&lt;br /&gt;
** best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1847</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1847"/>
		<updated>2019-04-30T11:53:07Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
** this actually includes paramedic training (with ride-alongs in ambulances)&lt;br /&gt;
** first-aid @ Remeis&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* sheep!&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
** line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* constellations&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat, still looking for the images)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== building plan ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter&lt;br /&gt;
** firetruck with hose as tassel : Paper model + cord + nozzle (**Max**) &lt;br /&gt;
** a beeper with button to start alarm&lt;br /&gt;
* mit dem Fahrrad nach Remeis (von Erlangen): ESTW smokestack + canal leading to observatory + bike with trailer&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk also sheep but colored wool?)&lt;br /&gt;
** wool sheep (**Andrea**)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* CCD lab instructor&lt;br /&gt;
** best of CCD protocols printout [ccd protocol layout]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1846</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1846"/>
		<updated>2019-04-30T11:24:51Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
====== list of ideas ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
** this actually includes paramedic training (with ride-alongs in ambulances)&lt;br /&gt;
** first-aid @ Remeis&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* sheep!&lt;br /&gt;
* mit dem Fahrrad nach Remeis (von Erlangen)&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk?)&lt;br /&gt;
** line measurements (remeis intern poll)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* CCD lab instructor&lt;br /&gt;
* constellations&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat, still looking for the images)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== building plan ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat =&amp;gt; accretion disk (*Basti*)&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
** this actually includes paramedic training (with ride-alongs in ambulances)&lt;br /&gt;
** first-aid @ Remeis&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
* sheep!&lt;br /&gt;
* mit dem Fahrrad nach Remeis (von Erlangen)&lt;br /&gt;
* kids as little thesis helpers&lt;br /&gt;
* card/board games&lt;br /&gt;
* wiskey&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1 (Draft Idea: build BH + Clumpy wind {clumps are sheep shaped} [wool &amp;amp; LEDS] + accretion disk?)&lt;br /&gt;
** line measurements (remeis intern poll)&lt;br /&gt;
* extended work on paper: LightCurve with words/day or git commits/day (get git repo) (**Christian**)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
* CCD lab instructor&lt;br /&gt;
* constellations&lt;br /&gt;
* Web admin: extensive fights with WordPress -&amp;gt; small print for the side of the hat (**Matthias**)&lt;br /&gt;
* Teilchenweltvermittler (-&amp;gt; little &amp;quot;alien&amp;quot; particle stickers for the side of the hat, still looking for the images)&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1841</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1841"/>
		<updated>2019-04-23T07:32:24Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat (*Basti*)&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1&lt;br /&gt;
* extended work on paper&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1840</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1840"/>
		<updated>2019-04-23T07:32:05Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat (*Basti*)&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1&lt;br /&gt;
* work on paper&lt;br /&gt;
* line measurements (remeis intern poll)&lt;br /&gt;
* timing analysis (power spectra)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1839</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1839"/>
		<updated>2019-04-23T07:29:02Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat (*Basti*)&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
* Cyg X-1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1838</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1838"/>
		<updated>2019-04-23T07:28:46Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Private */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
* colored hat: glue rainbow-paper on the hat base (and top) for a colorful hat (*Basti*)&lt;br /&gt;
* firefighter (beeper goes of at inconvenient times)&lt;br /&gt;
* colored hair&lt;br /&gt;
* shoes and socks of different color&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1837</id>
		<title>PhD hat for Maria</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=PhD_hat_for_Maria&amp;diff=1837"/>
		<updated>2019-04-23T07:23:47Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot; ====== PhD Hat for Maria ======  ==== Private ====   ==== Work ====   Category:Internal&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== PhD Hat for Maria ======&lt;br /&gt;
&lt;br /&gt;
==== Private ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Work ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=ERosita_Coding_standards&amp;diff=1423</id>
		<title>ERosita Coding standards</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=ERosita_Coding_standards&amp;diff=1423"/>
		<updated>2018-05-02T11:31:39Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:Internal  ===== NRTA library coding standards =====    * **variables**: written in lowercase &amp;lt;code c&amp;gt; int name_of_variable;&amp;lt;/code&amp;gt;     * **constants**: marked w...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
===== NRTA library coding standards =====&lt;br /&gt;
&lt;br /&gt;
  * **variables**: written in lowercase &amp;lt;code c&amp;gt;&lt;br /&gt;
int name_of_variable;&amp;lt;/code&amp;gt;&lt;br /&gt;
    * **constants**: marked with 'c' at the beginning &amp;lt;code c&amp;gt;&lt;br /&gt;
const int cname_of_variable;&amp;lt;/code&amp;gt;&lt;br /&gt;
    * **statics**: marked with 's' at the beginning &amp;lt;code c&amp;gt;&lt;br /&gt;
static int sname_of_variable;&amp;lt;/code&amp;gt;&lt;br /&gt;
    * **globals**: marked with 'g' at the beginning &amp;lt;code c&amp;gt;&lt;br /&gt;
int gname_of_variable;&amp;lt;/code&amp;gt;&lt;br /&gt;
    * **pointers (and arrays)**: marked with '*p' at the beginning &amp;lt;code c&amp;gt;&lt;br /&gt;
int *pname_of_pointer;&lt;br /&gt;
long pnaxes[2] = {xsize, ysize};&amp;lt;/code&amp;gt;&lt;br /&gt;
    * **loop variables**: use double letters, starting with 'ii' and 'jj' &amp;lt;code c&amp;gt;&lt;br /&gt;
int ii, jj;&lt;br /&gt;
for(ii = 0; ii &amp;lt; 50; ii++) {&lt;br /&gt;
  for(jj = 0; jj &amp;lt; 10; jj++) {&lt;br /&gt;
    printf(&amp;quot;do something...\n&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&amp;lt;/code&amp;gt;&lt;br /&gt;
  * **functions**: all functions start with 'ero_' and have '_' between separate words &amp;lt;code c&amp;gt;&lt;br /&gt;
void ero_name_of_function(void);&amp;lt;/code&amp;gt;&lt;br /&gt;
  * **structures**: start with capital letter &amp;lt;code c&amp;gt;&lt;br /&gt;
struct Structure {&lt;br /&gt;
  int blah;&lt;br /&gt;
  char some_string[80];&lt;br /&gt;
  (void)(*pero_some_function)(int, char*);&lt;br /&gt;
};&amp;lt;/code&amp;gt;&lt;br /&gt;
  * **enums**: to be favored over preprocessor directives (#define ...); name of enum prefixes each entry &amp;lt;code c&amp;gt;&lt;br /&gt;
enum List {&lt;br /&gt;
  LIST_ENTRY_A = 1,&lt;br /&gt;
  LIST_ENTRY_B = 2,&lt;br /&gt;
  LIST_ENTRY_C = 3&lt;br /&gt;
};&amp;lt;/code&amp;gt;&lt;br /&gt;
  * **typedefs**: objects to end with '_t' &amp;lt;code c&amp;gt;&lt;br /&gt;
typedef unsigned int size_t;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Cinema&amp;diff=1422</id>
		<title>Cinema</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Cinema&amp;diff=1422"/>
		<updated>2018-05-02T11:28:46Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Remeis Movie Club =====&lt;br /&gt;
&lt;br /&gt;
The schedule for upcoming movies at the Remeis theater. Movies usually start around 7-8 pm. Dinner plans are made on short notice (default is pizza).\\&lt;br /&gt;
Please do not just edit any dates, they're usually coordinated between some people already when they are entered into the table.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| Week of June 3&lt;br /&gt;
|-&lt;br /&gt;
| Tue, June 4&lt;br /&gt;
| Waterworld&lt;br /&gt;
| Cloud Atlas&lt;br /&gt;
|-&lt;br /&gt;
| Week of June 10&lt;br /&gt;
|-&lt;br /&gt;
| Wed, June 12&lt;br /&gt;
| Game of Thrones S03E7-10&lt;br /&gt;
|-&lt;br /&gt;
| Week of June 17&lt;br /&gt;
|-&lt;br /&gt;
| Wed, June 19&lt;br /&gt;
| End of Watch&lt;br /&gt;
|-&lt;br /&gt;
| Week of July 8&lt;br /&gt;
|-&lt;br /&gt;
| TBD&lt;br /&gt;
| Terminator Series&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also planned (feel free to add wishes):&lt;br /&gt;
&lt;br /&gt;
True Grit\\&lt;br /&gt;
Thor\\&lt;br /&gt;
Gattaca\\&lt;br /&gt;
Highlander\\&lt;br /&gt;
Back to the Future I-III\\&lt;br /&gt;
\\&lt;br /&gt;
Iron Man 3 [October]\\&lt;br /&gt;
Marvel's Agents of S.H.I.E.L.D. [Series coming in fall 2013]\\&lt;br /&gt;
\\&lt;br /&gt;
Terminator\\&lt;br /&gt;
A clockwork orange\\&lt;br /&gt;
Dracula\\&lt;br /&gt;
Some like it hot\\&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Cinema&amp;diff=1420</id>
		<title>Cinema</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Cinema&amp;diff=1420"/>
		<updated>2018-05-02T11:27:59Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Remeis Movie Club =====&lt;br /&gt;
&lt;br /&gt;
The schedule for upcoming movies at the Remeis theater. Movies usually start around 7-8 pm. Dinner plans are made on short notice (default is pizza).\\&lt;br /&gt;
Please do not just edit any dates, they're usually coordinated between some people already when they are entered into the table.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| Week of June 3&lt;br /&gt;
|-&lt;br /&gt;
| Tue, June 4&lt;br /&gt;
| Waterworld&lt;br /&gt;
| Cloud Atlas&lt;br /&gt;
|-&lt;br /&gt;
| Week of June 10&lt;br /&gt;
|-&lt;br /&gt;
| Wed, June 12&lt;br /&gt;
| Game of Thrones S03E7-10&lt;br /&gt;
|-&lt;br /&gt;
| Week of June 17&lt;br /&gt;
|-&lt;br /&gt;
| Wed, June 19&lt;br /&gt;
|-&lt;br /&gt;
| End of Watch&lt;br /&gt;
|-&lt;br /&gt;
| Week of July 8&lt;br /&gt;
|-&lt;br /&gt;
| TBD&lt;br /&gt;
| Terminator Series&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also planned (feel free to add wishes):&lt;br /&gt;
&lt;br /&gt;
True Grit\\&lt;br /&gt;
Thor\\&lt;br /&gt;
Gattaca\\&lt;br /&gt;
Highlander\\&lt;br /&gt;
Back to the Future I-III\\&lt;br /&gt;
\\&lt;br /&gt;
Iron Man 3 [October]\\&lt;br /&gt;
Marvel's Agents of S.H.I.E.L.D. [Series coming in fall 2013]\\&lt;br /&gt;
\\&lt;br /&gt;
Terminator\\&lt;br /&gt;
A clockwork orange\\&lt;br /&gt;
Dracula\\&lt;br /&gt;
Some like it hot\\&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Cinema&amp;diff=1415</id>
		<title>Cinema</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Cinema&amp;diff=1415"/>
		<updated>2018-05-02T11:23:04Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:Internal   ===== Remeis Movie Club =====  The schedule for upcoming movies at the Remeis theater. Movies usually start around 7-8 pm. Dinner plans are made on s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Remeis Movie Club =====&lt;br /&gt;
&lt;br /&gt;
The schedule for upcoming movies at the Remeis theater. Movies usually start around 7-8 pm. Dinner plans are made on short notice (default is pizza).\\&lt;br /&gt;
Please do not just edit any dates, they're usually coordinated between some people already when they are entered into the table.&lt;br /&gt;
&lt;br /&gt;
^ Week of June 3 ^^^&lt;br /&gt;
| Tue, June 4 | Waterworld | Cloud Atlas |&lt;br /&gt;
^ Week of June 10 ^^^&lt;br /&gt;
| Wed, June 12 | Game of Thrones S03E7-10 ||&lt;br /&gt;
^ Week of June 17 ^^^&lt;br /&gt;
| Wed, June 19 | End of Watch ||&lt;br /&gt;
^ Week of July 8 ^^^&lt;br /&gt;
| TBD | Terminator Series ||&lt;br /&gt;
&lt;br /&gt;
\\&lt;br /&gt;
&lt;br /&gt;
Also planned (feel free to add wishes):&lt;br /&gt;
&lt;br /&gt;
True Grit\\&lt;br /&gt;
Thor\\&lt;br /&gt;
Gattaca\\&lt;br /&gt;
Highlander\\&lt;br /&gt;
Back to the Future I-III\\&lt;br /&gt;
\\&lt;br /&gt;
Iron Man 3 [October]\\&lt;br /&gt;
Marvel's Agents of S.H.I.E.L.D. [Series coming in fall 2013]\\&lt;br /&gt;
\\&lt;br /&gt;
Terminator\\&lt;br /&gt;
A clockwork orange\\&lt;br /&gt;
Dracula\\&lt;br /&gt;
Some like it hot\\&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Intern:tanami:sources&amp;diff=1412</id>
		<title>Intern:tanami:sources</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Intern:tanami:sources&amp;diff=1412"/>
		<updated>2018-05-02T11:21:13Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;====== TANAMI sources ======&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== TANAMI sources ======&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=TANAMI&amp;diff=1411</id>
		<title>TANAMI</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=TANAMI&amp;diff=1411"/>
		<updated>2018-05-02T11:20:26Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:Internal  ====== TANAMI ======  TANAMI sources  ===== Radio =====  Radio Analysis Spectral Index Maps   ===== Optical/UV ===== //Swif...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
====== TANAMI ======&lt;br /&gt;
[[intern:tanami:sources | TANAMI sources]]&lt;br /&gt;
&lt;br /&gt;
===== Radio =====&lt;br /&gt;
&lt;br /&gt;
Radio Analysis&lt;br /&gt;
Spectral Index Maps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Optical/UV =====&lt;br /&gt;
//Swift///UVOT&lt;br /&gt;
//XMM///OM&lt;br /&gt;
&lt;br /&gt;
===== X-ray =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Gamma-ray =====&lt;br /&gt;
Fermi&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals:_XMM&amp;diff=1408</id>
		<title>Proposals: XMM</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals:_XMM&amp;diff=1408"/>
		<updated>2018-05-02T11:17:22Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;====== XMM Proposals ======   == Simultaneous XMM-Newton and Multiwavelength Observations of the Nucleus of CentaurusA == PI: Cornelia Müller, J. Wilms, M. Kadler, R. Ojha, A...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== XMM Proposals ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Simultaneous XMM-Newton and Multiwavelength Observations of the Nucleus of CentaurusA ==&lt;br /&gt;
PI: Cornelia Müller, J. Wilms, M. Kadler, R. Ojha, A. Markowitz, M. Böck, T. Beuchert, T. Dauser, F. Krauß, E. Litzinger, K. Mannheim, R. Rothschild, F. Spanier, M. Weidinger and the TANAMI Collaboration (AO12)&lt;br /&gt;
&lt;br /&gt;
== Constraining the nature of \pmn: Is it a $\gamma$-loud young radio galaxy? ==&lt;br /&gt;
PI: Cornelia Müller, W. McConville, J. Wilms, M. Kadler, R. Ojha,F. Krauß, T. Dauser, A. Markowitz, M. Böck, C.C. Cheung, L. Stawarz, M.\,Dutka (AO12)&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals:_Suzaku&amp;diff=1407</id>
		<title>Proposals: Suzaku</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals:_Suzaku&amp;diff=1407"/>
		<updated>2018-05-02T11:16:45Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot; ====== Suzaku Proposals ======    ===== Accreting Pulsar Sample =====  == Cyclotron Lines in Transient Pulsars I: Probing the B-Field == approved 2012, Suzaku AO-7, NASA\\ PI...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====== Suzaku Proposals ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Accreting Pulsar Sample =====&lt;br /&gt;
&lt;br /&gt;
== Cyclotron Lines in Transient Pulsars I: Probing the B-Field ==&lt;br /&gt;
approved 2012, Suzaku AO-7, NASA\\&lt;br /&gt;
PI: K. Pottschmidt\\&lt;br /&gt;
CoIs: D.M. Marcu, R.E. Rothschild, S. Suchy, E. Rivers,J. Wilms, I. Kreykenbohm, F. Fuerst, F. W. Schwarm, L. Barragan, M. Kuehnel, S. Mueller,&lt;br /&gt;
I. Caballero, P. Kretschmar, V.A. McBride, G. Schoenherr, M. DeCesar, R. Staubert, A. Santangelo, D. Klochkov, V. Doroshenko,&lt;br /&gt;
M. Finger, C. Wilson-Hodge, A. Camero, P.A. Jenke, C. Ferrigno, K. Makishima, T. Mihara, M. Nakajima, T. Enoto, Y. Terada, W., Iwakiri&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cyclotron Lines in Transient Pulsars II: New Lines ==&lt;br /&gt;
approved 2012, Suzaku AO-7, NASA\\ &lt;br /&gt;
PI: K. Pottschmidt\\&lt;br /&gt;
CoIs: D.M. Marcu, R.E. Rothschild, S. Suchy, E. Rivers,J. Wilms, I. Kreykenbohm, F. Fuerst, F. W. Schwarm, L. Barragan, M. Kuehnel, S. Mueller,&lt;br /&gt;
I. Caballero, P. Kretschmar, V.A. McBride, G. Schoenherr, M. DeCesar, R. Staubert, A. Santangelo, D. Klochkov, V. Doroshenko,&lt;br /&gt;
M. Finger, C. Wilson-Hodge, A. Camero, P.A. Jenke, C. Ferrigno, K. Makishima, T. Mihara, M. Nakajima, T. Enoto, Y. Terada, W., Iwakiri&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Cyg X-1 =====&lt;br /&gt;
&lt;br /&gt;
== Cygnus X-1 with Suzaku and NuSTAR ==&lt;br /&gt;
approved 2012, Suzaku AO-7, NASA\\ &lt;br /&gt;
PI: J.A. Tomsick\\&lt;br /&gt;
CoIs: M. Nowak, J. Wilms, K. Pottschmidt, D. Stern, F. Harrison&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Her X-1 =====&lt;br /&gt;
&lt;br /&gt;
== Study of the cyclotron line feature in Hercules X-1: the profile and the short- and long-term variability ==&lt;br /&gt;
approved 2012, Suzaku AO-7, NASA\\ &lt;br /&gt;
PI: B.W. Grefenstette\\&lt;br /&gt;
CoIs: J. Tomsick, D. Klochkov, D. Stern, J. Wilms, R. Staubert&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== 4U 1538-522 =====&lt;br /&gt;
&lt;br /&gt;
== The First Suzaku Observation of 4U1538-522 ==&lt;br /&gt;
approved 2012, Suzaku AO-7, NASA\\ &lt;br /&gt;
PI: R.E Rothschild\\&lt;br /&gt;
CoIs: K. Pottschmidt, J. Wilms, P. Hemphill, I. Kreykenbohm, J.J. Rodes, J.M. Torrejon, S. Martinez-Nunez, D. Marcu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===== GX 1+4 =====&lt;br /&gt;
&lt;br /&gt;
== TOO OBSERVATIONS OF THE NEUTRON STAR / RED GIANT BINARY SYSTEM GX 1+4 / V2116 OPHIUCHI ==&lt;br /&gt;
approved 2012, Suzaku AO-7, NASA\\ &lt;br /&gt;
PI: A.Camero-Arranz\\&lt;br /&gt;
CoIs: M. Finger, C. Wilson-Hogde, P.Jenke1, K. Pottschmidt, R.E. Rothschild, P. Kretschmar, I. Caballero, F. Fuerst, I. Kreykenbohm, A. González-Galán&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== EXO 2030+375 =====&lt;br /&gt;
&lt;br /&gt;
== Unveil accretion onset during a normal outburst of EXO2030+375 ==&lt;br /&gt;
approved 2012, Suzaku AO-7, ESA\\ &lt;br /&gt;
PI: C. Ferrigno\\&lt;br /&gt;
CoIs: D. Klochkov, V. Doroshenko, A. Santangelo, C. Wilson-Hodge, A. Camero-Arranz, J. Wilms, I. Kreykenbohm, K. Pottschmidt, E. Bozzo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== X Per =====&lt;br /&gt;
&lt;br /&gt;
== Cracking the X Per ==&lt;br /&gt;
approved 2012, Suzaku AO-7, ESA\\ &lt;br /&gt;
PI: V. Doroshenko\\&lt;br /&gt;
CoIs: A. Santangelo, I. Kreykenbohm, D. Klochkov, J. Wilms, K. Pottschmidt, R.E. Rothschild&lt;br /&gt;
&lt;br /&gt;
===== 4U 1909+07 =====&lt;br /&gt;
== Studying accretion in the uncelebrated HMXB 4U 1909+07 ==&lt;br /&gt;
approved 2010, Suzaku AO-5, ESA\\&lt;br /&gt;
PI: F. Fuerst\\&lt;br /&gt;
CoIs: I. Kreykenbohm, J. Wilms, L. Barragan, K. Pottschmidt, R. E. Rothschild, S. Suchy,&lt;br /&gt;
M. Hanke, P. Kretschmar, F. Schwarm, Y. Terada, and the MAGNET collaboration&lt;br /&gt;
//observation performed 2010-11-03 for ~20ksec, spectrum shown in Felix' PhD thesis//&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals:_Chandra&amp;diff=1405</id>
		<title>Proposals: Chandra</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals:_Chandra&amp;diff=1405"/>
		<updated>2018-05-02T11:15:21Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;====== Chandra Proposals ======  ===== Cyg X-1 =====  == Filling the gap in understanding the wind structure of HDE 226868 / Cyg X-1: == PI: Katja Pottschmidt, CoIs: I. Miško...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== Chandra Proposals ======&lt;br /&gt;
&lt;br /&gt;
===== Cyg X-1 =====&lt;br /&gt;
&lt;br /&gt;
== Filling the gap in understanding the wind structure of HDE 226868 / Cyg X-1: ==&lt;br /&gt;
PI: Katja Pottschmidt, CoIs: I. Miškovičová, D. Marcu, N. Hell, J. Wilms, M.A. Nowak, L. Oskinova, N. Schulz, F. Fürst, J. Torrejón, M. Hanke, G.V. Brown, D. Liedahl, Chandra Guest Observer Program, AO15\\&lt;br /&gt;
//The observation was proposed and won as a ToO but has not been triggered yet as of the time of submission. The present proposal is a resubmission of this and the AO12--AO14 programs.//&lt;br /&gt;
&lt;br /&gt;
== Filling the gap in understanding the wind structure of HDE 226868 / Cyg X-1: ==&lt;br /&gt;
PI: Katja Pottschmidt, CoIs: I. Miškovičová, D. Marcu, N. Hell, J. Wilms, M.A. Nowak, L. Oskinova, N. Schulz, F. Fürst, J. Torrejón, M. Hanke, G.V. Brown, D. Liedahl, Chandra Guest Observer Program, AO14\\&lt;br /&gt;
//The observation was proposed and won as a ToO but has not been triggered yet as of the time of submission.//&lt;br /&gt;
&lt;br /&gt;
== Filling the gap in understanding the wind structure of HDE 226868 / Cyg X-1: ==&lt;br /&gt;
PI: Katja Pottschmidt, CoIs: I. Miškovičová, D. Marcu, M. Hanke, J. Wilms, M.A. Nowak, L. Oskinova, N. Schulz, F. Fürst, J. Torrejón, Chandra Guest Observer Program, AO13\\&lt;br /&gt;
//The observation was scheduled in 2012 February but we canceled it before execution due to Cyg X-1 returning&lt;br /&gt;
into the soft state and it was not rescheduled.//&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filling the gap in understanding the wind structure of HDE 226868 / Cyg X-1: ==&lt;br /&gt;
PI: Manfred Hanke, CoIs: J. Wilms, M.A. Nowak, L. Oskinova, K. Pottschmidt, N. Schulz,&lt;br /&gt;
F. Fürst, I. Miškovičová, J. Torrejón, Chandra Guest Observer Program, AO12\\&lt;br /&gt;
//Observation performed in 2011 January and analyzed. No lines were seen due to strong photoionization caused by the soft state of the source. Data given to the group of J. McClintock in order to help with the determination of the spin of the black hole from continuum fitting (paper submitted).//&lt;br /&gt;
&lt;br /&gt;
== Cygnus X-1 Viewed Outside of its Secondary's Wind == &lt;br /&gt;
PI: Michael A. Nowak, Co-Is: J. Wilms, M. Hanke, N. Schulz, C. Canizares, K. Pottschmidt, Chandra Guest Observer Program, AO11 \\&lt;br /&gt;
//Observation performed, analyzed, results presented at several conferences and in the PhD thesis of M. Hanke, refereed publication submitted (jointly with the AO9 observation).//&lt;br /&gt;
 &lt;br /&gt;
== Joint XMM-Newton/Chandra/RXTE Observations of Dips in Cyg X-1 == &lt;br /&gt;
PI: Jörn Wilms, CoIs: M.A. Nowak, K. Pottschmidt, S. Fritz, N.S. Schulz, C. Canizares, Chandra Guest Observer Program, AO9\\&lt;br /&gt;
//Observation performed, analyzed, results presented at several conferences and in the PhD thesis of M. Hanke, refereed publication submitted (jointly with the AO11 observation).//&lt;br /&gt;
&lt;br /&gt;
== Cygnus X-1: X-ray Dips, Distance, and the X-ray Halo ==&lt;br /&gt;
PI: Katja Pottschmidt, CoIs: J. Wilms, M.A. Nowak, J. Lee, R. McCray, A. Allen, P. Predehl, Chandra Guest Observer Program, 2002--2003.\\ &lt;br /&gt;
//Observation performed, two papers published, multiple conference posters.//&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== 3A 1954+319 =====&lt;br /&gt;
== Exposing the symbiosis of 3A 1954+319 ==&lt;br /&gt;
PI: K. Pottschmidt\\&lt;br /&gt;
CoIs: D. M. Marcu, F. Fuerst, R. H. D. Corbet, C. B. Markwardt, J. Wilms, S. Suchy, R. E. Rothschild, and the MAGNET collaboration&lt;br /&gt;
//observation performed in a very low luminosity state//&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals&amp;diff=1404</id>
		<title>Proposals</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Proposals&amp;diff=1404"/>
		<updated>2018-05-02T11:14:30Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:Internal  ===== Proposals =====  When submitting a proposal for satellite observations usually a list of earlier __successful__ proposals is added. To make it e...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
===== Proposals =====&lt;br /&gt;
&lt;br /&gt;
When submitting a proposal for satellite observations usually a list of earlier __successful__ proposals is added. To make it easier to find those relevant for the individual observatory and the scientific aim of the current proposal, here is a list of proposals our group was involved in. Please include title, PI/CoIs, cycle and publications based on the observation.&lt;br /&gt;
&lt;br /&gt;
  * [[intern:Proposals:Chandra | Chandra]]&lt;br /&gt;
  * [[intern:Proposals:Suzaku | Suzaku]]&lt;br /&gt;
  * [[intern:Proposals:XMM | XMM]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Orbit_plot_of_GX_301-2_(xfig_example)&amp;diff=1084</id>
		<title>Orbit plot of GX 301-2 (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Orbit_plot_of_GX_301-2_(xfig_example)&amp;diff=1084"/>
		<updated>2018-04-13T16:12:19Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:SLxfig  ====== Orbit plot of GX 301-2 ====== &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;) ; % require(&amp;quot;/scratch2/fuerst/isisscripts/share/isisscripts&amp;quot;) ; % ()=evalfile(&amp;quot;/scratc...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
====== Orbit plot of GX 301-2 ======&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;) ;&lt;br /&gt;
% require(&amp;quot;/scratch2/fuerst/isisscripts/share/isisscripts&amp;quot;) ;&lt;br /&gt;
% ()=evalfile(&amp;quot;/scratch2/fuerst/isisscripts/src/plot/xfig_draw_orbit.sl&amp;quot;) ;&lt;br /&gt;
()=evalfile(&amp;quot;xfig_draw_orbit.sl&amp;quot;) ;&lt;br /&gt;
&lt;br /&gt;
% orbit parameters of GX 301-2 according to Koh et al (1997).&lt;br /&gt;
variable asini = 368.3 ; % lt-sec (semi major axis) 368.3&lt;br /&gt;
variable i = 66; % degree to rad 66&lt;br /&gt;
variable ecc = 0.46; %&lt;br /&gt;
variable omega = 310.4 ; % degrees&lt;br /&gt;
variable rstar = 62 ; % solar radii  in lt-sec&lt;br /&gt;
variable c=  2.998e8 ; %speed of light in cm/s&lt;br /&gt;
variable rsun=1.3914e9/2. ; %solar radius in c&lt;br /&gt;
&lt;br /&gt;
%calculating the parameters of the ellipse&lt;br /&gt;
%(necessary to get the ASM lightcurve and its coordinate system)&lt;br /&gt;
% orbit parameters &lt;br /&gt;
i = i /360.*2*PI ; % degree to rad&lt;br /&gt;
variable a  = asini/sin(i) ;&lt;br /&gt;
variable b = sqrt( a^2 * (1-ecc^2) ); % semi-minor axis, lt-sec&lt;br /&gt;
omega = omega / 360. * 2 * PI ;&lt;br /&gt;
&lt;br /&gt;
%mean and eccentric anomaly for a full circle / ellipse &lt;br /&gt;
variable M = [0:2*PI:#1024] ; %mean anomaly&lt;br /&gt;
variable eccanom = KeplerEquation (M, ecc) ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%widht and height of th plot&lt;br /&gt;
variable W = 12 ;&lt;br /&gt;
variable H = W ;&lt;br /&gt;
&lt;br /&gt;
%get the orbital phase of the XMM obs and the two Suzaku obs&lt;br /&gt;
variable orbphase1 = orbitalphase (55024.103 , &amp;quot;GX301-2_Koh1997&amp;quot;) ;&lt;br /&gt;
variable orbphase2 = orbitalphase (55024.603 , &amp;quot;GX301-2_Koh1997&amp;quot;) ;&lt;br /&gt;
variable orbphase_s1b = orbitalphase (54703.552280 , &amp;quot;GX301-2_Koh1997&amp;quot;) ;&lt;br /&gt;
variable orbphase_s1f= orbitalphase (54704.0036689 , &amp;quot;GX301-2_Koh1997&amp;quot;) ;&lt;br /&gt;
variable orbphase_s2b = orbitalphase (54836.439629 , &amp;quot;GX301-2_Koh1997&amp;quot;) ;&lt;br /&gt;
variable orbphase_s2f = orbitalphase (54838.0419328  , &amp;quot;GX301-2_Koh1997&amp;quot;) ;&lt;br /&gt;
&lt;br /&gt;
%load the ASM lightcurve and fold into ont the orbit&lt;br /&gt;
variable asmlc = RXTE_ASM_lightcurve (&amp;quot;gx301-2&amp;quot;) ;&lt;br /&gt;
variable asmpp = pfold(asmlc.time, asmlc.rate, 41.498 ;nbins = 80, t0 = 48802.79) ;&lt;br /&gt;
&lt;br /&gt;
%min and max values of the ASM lightcurve&lt;br /&gt;
variable max4cord = 5.0 ;&lt;br /&gt;
variable min4cord = 0.0 ;&lt;br /&gt;
%normalize ASM lightcurve to these values above&lt;br /&gt;
variable pplc = (asmpp.value -min4cord)/(max4cord-min4cord);&lt;br /&gt;
&lt;br /&gt;
%%%calculating the ellipse which is modulated by the ASM lightcurve&lt;br /&gt;
variable gxx2, gxy2, gxx2b, gxy2b  ;&lt;br /&gt;
variable gxxall = Double_Type[0];&lt;br /&gt;
variable gxyall = Double_Type[0];&lt;br /&gt;
&lt;br /&gt;
%how far away from the orbit should the ASM lightcurve appear?&lt;br /&gt;
variable minscal = 0.04 ;&lt;br /&gt;
variable maxscal = 0.4 ;&lt;br /&gt;
variable j ;&lt;br /&gt;
_for j (0, length(pplc)-1, 1) {&lt;br /&gt;
   (gxx2,gxy2) = ellipse(a+asini*(minscal+maxscal*pplc[j]), b+asini*(minscal+maxscal*pplc[j]),&lt;br /&gt;
			 omega, eccanom[where(asmpp.bin_lo[j] &amp;lt; M/2/PI &amp;lt;= asmpp.bin_hi[j])]) ;&lt;br /&gt;
   gxxall = [gxxall,gxx2] ;&lt;br /&gt;
   gxyall = [gxyall,gxy2] ;&lt;br /&gt;
}&lt;br /&gt;
gxxall = [gxxall,gxxall[0]];&lt;br /&gt;
gxyall = [gxyall,gxyall[0]];&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%defining eccentric and true anomaly to be used in the coordinate grid&lt;br /&gt;
%for the ASM lightcurve (phase indicator lines)&lt;br /&gt;
variable eccanom_cgrid = KeplerEquation([0.0:1:0.1]*2*PI, ecc) ;&lt;br /&gt;
variable theta_cgrid = 2.*atan( sqrt( (1.+ecc)/(1.-ecc) )*tan(eccanom_cgrid/2.) );  % true anomaly from eccentric anomaly&lt;br /&gt;
&lt;br /&gt;
%all ellipses are shifted so that the star sits at [0,0].&lt;br /&gt;
variable shiftx = a*ecc*cos(omega) ;&lt;br /&gt;
variable shifty = a*ecc*sin(omega) ;&lt;br /&gt;
&lt;br /&gt;
%define some colors:&lt;br /&gt;
variable darkgray = rgb2hex(0.4,0.4,0.4 ; str) ; % used for the phase labels&lt;br /&gt;
variable darkestgray = rgb2hex(0.15,0.15,0.15 ; str) ; % used for the ASM labels&lt;br /&gt;
variable asmcol = rgb2hex(0.1,0.55,0.1 ; str) ; %&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5&lt;br /&gt;
%opening the plot and defining the world coordinate system&lt;br /&gt;
variable xfgx = xfig_plot_new(W,H) ;&lt;br /&gt;
xfgx.world(-720,500,-500, 720) ;&lt;br /&gt;
variable axf, bxf ;&lt;br /&gt;
%plotting the orbit and highlighting the three observations&lt;br /&gt;
(axf, bxf)  = xfig_draw_orbit(xfgx, asini, i/2/PI*360., ecc, omega/2/PI*360., rstar ; phases={[orbphase1,orbphase2]},&lt;br /&gt;
		phase_color=[&amp;quot;red&amp;quot;, &amp;quot;blue&amp;quot;, &amp;quot;blue&amp;quot;], phase_width=4, scale=1.0, trueanom,zerolines=0, width=3, depth=45,&lt;br /&gt;
			       forward_arrow, arrow_width=8,arrow_height=12,arrow_type=2) ;&lt;br /&gt;
&lt;br /&gt;
%Earth indicating arrow&lt;br /&gt;
xfgx.plot([0,0],[-145,-425] ; line=1, forward_arrow, depth = 10, arrow_thickness =2) ;&lt;br /&gt;
xfgx.xylabel(0,-445, &amp;quot;To Earth&amp;quot; ; size =&amp;quot;\scriptsize&amp;quot;R);&lt;br /&gt;
%render now without ASM stuff or phase indicators.&lt;br /&gt;
% xfgx.render(&amp;quot;plots/gx301_skizze2.eps&amp;quot;) ;&lt;br /&gt;
&lt;br /&gt;
%plotting the coodinate grid around the ellipse for the ASM lightcurve&lt;br /&gt;
variable  xlab, ylab ;&lt;br /&gt;
variable labscal = 0.88 ;&lt;br /&gt;
&lt;br /&gt;
% _for j (0,1, 1){&lt;br /&gt;
%   %phase indicator lines&lt;br /&gt;
%   xfgx.plot([0,cos(theta_cgrid[j]+omega)]*1500,[0,sin(theta_cgrid[j]+omega)]*1500 ; color=&amp;quot;gray&amp;quot;, line=3) ;&lt;br /&gt;
%   %their labels&lt;br /&gt;
%   (xlab, ylab) = ellipse(a, b, omega, eccanom_cgrid[j]+0.07)  ;&lt;br /&gt;
%   xfgx.xylabel((xlab-shiftx)*labscal, (ylab-shifty)*labscal,sprintf(&amp;quot;%.1f&amp;quot;, j/10. ) ;&lt;br /&gt;
% 	       rotate=(theta_cgrid[j]+omega)/2/PI*360., color=darkgray, size =&amp;quot;\scriptsize&amp;quot;R ) ;&lt;br /&gt;
% }&lt;br /&gt;
% _for j (2,length(theta_cgrid)-1, 1){&lt;br /&gt;
%   %phase indicator lines&lt;br /&gt;
%   xfgx.plot([0,cos(theta_cgrid[j]+omega)]*1500,[0,sin(theta_cgrid[j]+omega)]*1500 ; color=&amp;quot;gray&amp;quot;, line=3, depth=81) ;&lt;br /&gt;
%   %their labels&lt;br /&gt;
%   (xlab, ylab) = ellipse(a, b, omega, eccanom_cgrid[j]-0.07)  ;&lt;br /&gt;
%   xfgx.xylabel((xlab-shiftx)*labscal, (ylab-shifty)*labscal,sprintf(&amp;quot;%.1f&amp;quot;, j/10. ) ;&lt;br /&gt;
% 	       rotate=(theta_cgrid[j]+omega)/2/PI*360.+180, color=darkgray, size =&amp;quot;\scriptsize&amp;quot;R,depth=20 ) ;&lt;br /&gt;
% }&lt;br /&gt;
&lt;br /&gt;
%calculating and plotting the grid for the ASM lightcurve&lt;br /&gt;
variable xgrid, ygrid,g ;&lt;br /&gt;
%how many lines to we want to have?&lt;br /&gt;
variable gridpart = 1./4 ;&lt;br /&gt;
variable xp1, yp1, xp2, yp2 ;&lt;br /&gt;
for (g=0 ; g&amp;lt;=1 ; g+=gridpart)&lt;br /&gt;
{&lt;br /&gt;
  (xgrid, ygrid) = ellipse(a+(minscal+g*maxscal)*asini, b+(minscal+g*maxscal)*asini, omega, [0:2*PI:#256]) ;&lt;br /&gt;
  (xp1, yp1) = ellipse(a+(minscal+g*maxscal)*asini, b+(minscal+g*maxscal)*asini, omega, 0.3*2*PI) ;&lt;br /&gt;
  xfgx.plot(xgrid-shiftx, ygrid-shifty; color=&amp;quot;gray&amp;quot;, line=3,depth=80) ;&lt;br /&gt;
  %labeling the ASM coordinate system&lt;br /&gt;
  xfgx.xylabel(xp1-shiftx,yp1-shifty,sprintf(&amp;quot;%.2f&amp;quot;,g*max4cord+min4cord) ;size =&amp;quot;\scriptsize&amp;quot;R, rotate=-34, depth=7, color=darkestgray ) ;&lt;br /&gt;
}&lt;br /&gt;
%writing out  the units&lt;br /&gt;
(xp1, yp1) = ellipse(a+(minscal+g*maxscal)*asini, b+(minscal+g*maxscal)*asini, omega, 0.3*2*PI) ;&lt;br /&gt;
xfgx.xylabel(xp1-a*ecc*cos(omega),yp1-a*ecc*sin(omega), &amp;quot;[cts\,sec$^{-1}$]&amp;quot;R ;size =&amp;quot;\scriptsize&amp;quot;R, rotate=-34, depth=7, color=darkestgray ) ;&lt;br /&gt;
&lt;br /&gt;
%plotting the ASM lightcurve&lt;br /&gt;
xfgx.plot(gxxall-shiftx,gxyall-shifty; color=asmcol, depth = 10, width=3) ;&lt;br /&gt;
&lt;br /&gt;
%calculating and plotting a bezier curve pointing to the XMM observation&lt;br /&gt;
variable bez = bezier({[-600,-350],[-550,-120],[-200,-590],[-142,-250]}, 100) ;&lt;br /&gt;
xfgx.plot(bez.x,bez.y ; forward_arrow, color=&amp;quot;red&amp;quot;, depth = 5) ;&lt;br /&gt;
xfgx.xylabel(-600,-375,&amp;quot;XMM&amp;quot; ; size = &amp;quot;\scriptsize&amp;quot;R, color=&amp;quot;red&amp;quot;) ;&lt;br /&gt;
xfgx.xylabel(-600,-400,&amp;quot;47\\,ksec Obs.&amp;quot; ; size = &amp;quot;\scriptsize&amp;quot;R, color=&amp;quot;red&amp;quot;) ;&lt;br /&gt;
&lt;br /&gt;
xfgx.xylabel(0,0,&amp;quot;\\centering Wray\\\\ 977&amp;quot; ; depth=0); &lt;br /&gt;
&lt;br /&gt;
%calculating and plotting a bezier curve pointing to the Suzaku observation&lt;br /&gt;
% variable bezs1 = bezier({[-100,280],[-100,460],[-200,100],[-250,505]}, 100) ;&lt;br /&gt;
% xfgx.plot(bezs1.x,bezs1.y ; forward_arrow, color=&amp;quot;blue&amp;quot;, depth=5) ;&lt;br /&gt;
% variable bezs1 = bezier({[-80,280],[-30,460],[-50,200],[105,400]}, 100) ;&lt;br /&gt;
% xfgx.plot(bezs1.x,bezs1.y ; forward_arrow, color=&amp;quot;blue&amp;quot;, depth=5) ;&lt;br /&gt;
% xfgx.xylabel(-100,260,&amp;quot;Suzaku&amp;quot; ; size = &amp;quot;\scriptsize&amp;quot;R, color=&amp;quot;blue&amp;quot;) ;&lt;br /&gt;
&lt;br /&gt;
%rendering it all&lt;br /&gt;
xfgx.render(&amp;quot;plots/gx301_skizze_nosuz2.png&amp;quot;) ;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_parabola_(xfig_example)&amp;diff=1083</id>
		<title>Chi-squared parabola (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_parabola_(xfig_example)&amp;diff=1083"/>
		<updated>2018-04-13T16:10:40Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:SLxfig  ====== Chi-squared parabola ====== &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;);  variable t = [-3:3:.01];  define f(x){   return -x^2+9; }  variable L = f(t);   variab...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
====== Chi-squared parabola ======&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
variable t = [-3:3:.01];&lt;br /&gt;
&lt;br /&gt;
define f(x){&lt;br /&gt;
  return -x^2+9;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable L = f(t);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
variable X = xfig_plot_new;&lt;br /&gt;
X.plot(t,L);&lt;br /&gt;
%X.axis(;off);&lt;br /&gt;
X.xlabel(`$\theta$`);&lt;br /&gt;
X.ylabel(`$ln L$`);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
variable sig1_lo,sig1_hi,sig2_lo,sig2_hi,sig3_lo,sig3_hi;&lt;br /&gt;
sig1_lo = min(t[where(L&amp;gt;max(L)-0.5)]);&lt;br /&gt;
sig1_hi = max(t[where(L&amp;gt;max(L)-0.5)]);&lt;br /&gt;
sig2_lo = min(t[where(L&amp;gt;max(L)-2)]);&lt;br /&gt;
sig2_hi = max(t[where(L&amp;gt;max(L)-2)]);&lt;br /&gt;
sig3_lo = min(t[where(L&amp;gt;max(L)-4.5)]);&lt;br /&gt;
sig3_hi = max(t[where(L&amp;gt;max(L)-4.5)]);&lt;br /&gt;
&lt;br /&gt;
X.yaxis(; major=[max(L),max(L)-0.5,max(L)-2,max(L)-4.5],&lt;br /&gt;
       ticlabels=[`$L_{\text{max}}$`,&lt;br /&gt;
		  `$L_{\text{max}}$-0.5`,&lt;br /&gt;
		  `$L_{\text{max}}$-2`,&lt;br /&gt;
		  `$L_{\text{max}}$-4.5`],&lt;br /&gt;
       ticlabels2=0);&lt;br /&gt;
X.x1axis(; major=[sig1_lo,sig2_lo,sig3_lo,0,sig1_hi,sig2_hi,sig3_hi],&lt;br /&gt;
	 ticlabels=[`$-1\sigma$`,`$-2\sigma$`,&lt;br /&gt;
		    `$-3\sigma$`,`$\hat{\theta}=0$`,`$+1\sigma$`,&lt;br /&gt;
		    `$+2\sigma$`,`$+3\sigma$`],&lt;br /&gt;
	);&lt;br /&gt;
&lt;br /&gt;
						 						  &lt;br /&gt;
						  &lt;br /&gt;
%X.world1(min_max(t;pad=0.1),min_max(L;pad=0.1));&lt;br /&gt;
X.plot([min(t[where(L&amp;gt;max(L)-0.5)]),max(t[where(L&amp;gt;max(L)-0.5)])],[max(L)-0.5,max(L)-0.5];color=&amp;quot;black&amp;quot;,width=3,&lt;br /&gt;
       backward_arrow,forward_arrow,arrow_type=2,arrow_style=3,arrow_width=6);&lt;br /&gt;
X.plot([min(t[where(L&amp;gt;max(L)-2)]),max(t[where(L&amp;gt;max(L)-2)])],[max(L)-2,max(L)-2];color=&amp;quot;black&amp;quot;,width=3,&lt;br /&gt;
       backward_arrow,forward_arrow,arrow_type=1,arrow_style=3,arrow_width=6);&lt;br /&gt;
X.plot([min(t[where(L&amp;gt;max(L)-4.5)]),max(t[where(L&amp;gt;max(L)-4.5)])],[max(L)-4.5,max(L)-4.5];color=&amp;quot;black&amp;quot;,width=3,&lt;br /&gt;
       backward_arrow,forward_arrow,arrow_type=3,arrow_style=1,arrow_width=6);&lt;br /&gt;
% lines 1 sigma&lt;br /&gt;
X.plot([min(t[where(L&amp;gt;max(L)-0.5)]),min(t[where(L&amp;gt;max(L)-0.5)])],[0,max(L)-0.5]);&lt;br /&gt;
X.plot([max(t[where(L&amp;gt;max(L)-0.5)]),max(t[where(L&amp;gt;max(L)-0.5)])],[0,max(L)-0.5]);&lt;br /&gt;
% lines 2 sigma&lt;br /&gt;
X.plot([min(t[where(L&amp;gt;max(L)-2)]),min(t[where(L&amp;gt;max(L)-2)])],[0,max(L)-2]);&lt;br /&gt;
X.plot([max(t[where(L&amp;gt;max(L)-2)]),max(t[where(L&amp;gt;max(L)-2)])],[0,max(L)-2]);&lt;br /&gt;
% lines 3 sigma&lt;br /&gt;
X.plot([min(t[where(L&amp;gt;max(L)-4.5)]),min(t[where(L&amp;gt;max(L)-4.5)])],[0,max(L)-4.5]);&lt;br /&gt;
X.plot([max(t[where(L&amp;gt;max(L)-4.5)]),max(t[where(L&amp;gt;max(L)-4.5)])],[0,max(L)-4.5]);&lt;br /&gt;
% line max, max-0.5, max-2, max-4.5&lt;br /&gt;
X.plot([-4,0,],[max(L),max(L)];line=1);&lt;br /&gt;
X.plot([-4,0,],[max(L)-0.5,max(L)-0.5];line=1);&lt;br /&gt;
X.plot([-4,0,],[max(L)-2,max(L)-2];line=1);&lt;br /&gt;
X.plot([-4,0,],[max(L)-4.5,max(L)-4.5];line=1);&lt;br /&gt;
&lt;br /&gt;
variable sig_1 = xfig_new_text(`$68.3\,\%$`);&lt;br /&gt;
variable sig_2 = xfig_new_text(`$90\,\%$`);&lt;br /&gt;
variable sig_3 = xfig_new_text(`$99\,\%$`);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
X.add_object(sig_1,0,max(L)-1);&lt;br /&gt;
X.add_object(sig_2,0,max(L)-2.5);&lt;br /&gt;
X.add_object(sig_3,0,max(L)-5);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
X.render(&amp;quot;chisqr_parabola.eps&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_contours_(xfig_example)&amp;diff=1082</id>
		<title>Chi-squared contours (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_contours_(xfig_example)&amp;diff=1082"/>
		<updated>2018-04-13T16:09:09Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:SLxfig  ====== Chi-squared contours ======  &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;);  variable x = [0:2.2*PI:.01];  variable alpha,x0,y0,range,col; variable a,b; variable...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
====== Chi-squared contours ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
variable x = [0:2.2*PI:.01];&lt;br /&gt;
&lt;br /&gt;
variable alpha,x0,y0,range,col;&lt;br /&gt;
variable a,b;&lt;br /&gt;
variable i;&lt;br /&gt;
&lt;br /&gt;
define ellipse(x,i,alpha,x0,y0,a,b){&lt;br /&gt;
  return {x0+cos(alpha)*(a-i*1.5)*cos(x)-sin(alpha)*(b-i*1.5)*sin(x),&lt;br /&gt;
	  y0+sin(alpha)*(a-i*1.5)*cos(x)+cos(alpha)*(b-i*1.5)*sin(x)};&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
x0=0.;y0=0.;&lt;br /&gt;
alpha=PI/4.;&lt;br /&gt;
range=10.;&lt;br /&gt;
a=4.,b=10.;&lt;br /&gt;
&lt;br /&gt;
col=[&amp;quot;red&amp;quot;,&amp;quot;blue&amp;quot;,&amp;quot;green4&amp;quot;];&lt;br /&gt;
&lt;br /&gt;
vmessage(&amp;quot;sin(alpha)=%f, cos(alpha=%f)&amp;quot;,sin(alpha),cos(alpha));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
variable X=xfig_plot_new(15,15);&lt;br /&gt;
X.world([-range:range],[-range:range]);&lt;br /&gt;
&lt;br /&gt;
variable x_par_0 = ellipse(x,0,alpha,x0,y0,a,b)[0];&lt;br /&gt;
variable y_par_0 = ellipse(x,0,alpha,x0,y0,a,b)[1];&lt;br /&gt;
variable x_par_1 = ellipse(x,1,alpha,x0,y0,a,b)[0];&lt;br /&gt;
variable y_par_1 = ellipse(x,1,alpha,x0,y0,a,b)[1];&lt;br /&gt;
variable x_par_2 = ellipse(x,2,alpha,x0,y0,a,b)[0];&lt;br /&gt;
variable y_par_2 = ellipse(x,2,alpha,x0,y0,a,b)[1];&lt;br /&gt;
&lt;br /&gt;
X.yaxis(; major=[min(y_par_0),min(y_par_1),min(y_par_2),0,max(y_par_0),max(y_par_1),max(y_par_2)],&lt;br /&gt;
	ticlabels=[`$3\sigma$`,&lt;br /&gt;
		   `$-2\sigma$`,&lt;br /&gt;
		   `$-1\sigma$`,&lt;br /&gt;
		   `$\hat{b}=0$`,&lt;br /&gt;
		   `$+3\sigma$`,&lt;br /&gt;
		   `$+2\sigma$`,&lt;br /&gt;
		   `$+1\sigma$`],&lt;br /&gt;
	ticlabels2=0);&lt;br /&gt;
X.y2axis(;off);&lt;br /&gt;
X.x2axis(;off);&lt;br /&gt;
X.x1axis(; major=[min(x_par_0),min(x_par_1),min(x_par_2),0,max(x_par_0),max(x_par_1),max(x_par_2)],&lt;br /&gt;
	ticlabels=[`$-3\sigma$`,&lt;br /&gt;
		   `$-2\sigma$`,&lt;br /&gt;
		   `$-1\sigma$`,&lt;br /&gt;
		   `$\hat{a}=0$`,&lt;br /&gt;
		   `$+3\sigma$`,&lt;br /&gt;
		   `$+2\sigma$`,&lt;br /&gt;
		   `$+1\sigma$`],&lt;br /&gt;
	ticlabels2=0);&lt;br /&gt;
&lt;br /&gt;
X.plot([-10,0],[0,0];line=1);&lt;br /&gt;
X.plot([0,0],[-10,0];line=1);&lt;br /&gt;
&lt;br /&gt;
for (i=0;i&amp;lt;3;i++){&lt;br /&gt;
  variable x_par = ellipse(x,i,alpha,x0,y0,a,b)[0];&lt;br /&gt;
  variable y_par = ellipse(x,i,alpha,x0,y0,a,b)[1];&lt;br /&gt;
&lt;br /&gt;
  X.plot(x_par,y_par;color=col[i],width=3);&lt;br /&gt;
  X.plot([min(x_par),min(x_par)],[-10,y_par[where(x_par==min(x_par))]];line=1,color=col[i]);&lt;br /&gt;
  X.plot([max(x_par),max(x_par)],[-10,y_par[where(x_par==max(x_par))]];line=1,color=col[i]);&lt;br /&gt;
  X.plot([-10,x_par[where(y_par==min(y_par))]],[min(y_par),min(y_par)];line=1,color=col[i]);&lt;br /&gt;
  X.plot([-10,x_par[where(y_par==max(y_par))]],[max(y_par),max(y_par)];line=1,color=col[i]);  &lt;br /&gt;
  X.plot([0,0],[0,0];sym=&amp;quot;x&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
X.render(&amp;quot;chisqr_ellipse.eps&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1081</id>
		<title>Periodic Table of the Elements (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1081"/>
		<updated>2018-04-13T16:06:56Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Peridodic Table of the Elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
==== Peridodic Table of the Elements ====&lt;br /&gt;
&lt;br /&gt;
[[File:periodictable_nh.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
This script loads a datafile (ptdata.sl) with the symbols, names, and other properties in form of an array of lists. The array is built such that the index of an entry equals the proton number //Z//. Some of the properties (e.g., groups like metals / nonmetals, state, ...) are used as names for color definitions.&lt;br /&gt;
&lt;br /&gt;
The data file format is as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable elements = [{&amp;quot;Symbol&amp;quot;,&amp;quot;Element Name&amp;quot;,&amp;quot;\centering \small Atomic\\Weight&amp;quot;R,&amp;quot;black&amp;quot;,&amp;quot;white&amp;quot;},&lt;br /&gt;
{&amp;quot;H&amp;quot;,   &amp;quot;Hydrogen&amp;quot;,      &amp;quot;1.01&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;alkali&amp;quot;},&lt;br /&gt;
{&amp;quot;He&amp;quot;,  &amp;quot;Helium&amp;quot;,        &amp;quot;4.00&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;noblegas&amp;quot;},&lt;br /&gt;
...&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, the code is written in a way that allows to easily switch between color and black/white versions of the table via a simple integer variable ''incolor'', which triggers different color definitions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% periodic table entries:&lt;br /&gt;
require(&amp;quot;ptdata.sl&amp;quot;);&lt;br /&gt;
%-&amp;gt; variable elements&lt;br /&gt;
&lt;br /&gt;
variable incolor = 1;&lt;br /&gt;
if(incolor){&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.4  , 0.4  , 0.4   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(0.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 0.5  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(0.  , .4  , 0.8   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(0.75  , 0.75  , .75   ) );&lt;br /&gt;
}else{&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% a map for the positions of the individual elements (Z) in the periodic table&lt;br /&gt;
variable rows = {&lt;br /&gt;
   [1,0*ones(17),2],&lt;br /&gt;
   [3,4,0*ones(11),[5:10]],&lt;br /&gt;
   [11,12,0*ones(11),[13:18]],&lt;br /&gt;
   [19,20,0,[21:36]],&lt;br /&gt;
   [37,38,0,[39:54]],&lt;br /&gt;
   [55,56,0,[71:86]],&lt;br /&gt;
   [87,88,0,[103:118]],&lt;br /&gt;
   [57:70],&lt;br /&gt;
   [89:102]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
% the dimensions for the cells of the table&lt;br /&gt;
variable wcell = 2.15;&lt;br /&gt;
variable hcell = 2.5;&lt;br /&gt;
&lt;br /&gt;
define cell(Z){&lt;br /&gt;
   variable xc = xfig_plot_new(wcell,hcell);&lt;br /&gt;
   xc.world(0,wcell,0,hcell);&lt;br /&gt;
   xc.axes(;off);&lt;br /&gt;
   xc.plot([0,0,wcell,wcell,0],[0,hcell,hcell,0,0];depth=15);&lt;br /&gt;
   variable bg = xfig_new_polyline([0,0,wcell,wcell],[0,hcell,hcell,0];&lt;br /&gt;
			  closed,areafill=30,fillcolor=elements[Z][4],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
   xc.add_object(bg,0,0,-0.5,-0.5;depth=50);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.1*hcell, sprintf(&amp;quot;\usefont{T1}{arial}{b}{n}\scriptsize %s&amp;quot;R,elements[Z][1]),0,0;depth=10);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.58*hcell, elements[Z][0] ,0,0; size=&amp;quot;\Large&amp;quot;R, color=elements[Z][3],depth=10);&lt;br /&gt;
   if(Z==0){ &lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;Z&amp;quot; ,-0.5,0 ;depth=10);&lt;br /&gt;
   }else{&lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;$Z&amp;quot;$ ,-0.5,0 ;depth=10);&lt;br /&gt;
   }&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.31*hcell, elements[Z][2] ,0,0 ;depth=10);&lt;br /&gt;
   return xc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable pl = xfig_plot_new(19*wcell,10*hcell);&lt;br /&gt;
pl.world(1,19*wcell,10*hcell,1);&lt;br /&gt;
pl.axes(;off);&lt;br /&gt;
&lt;br /&gt;
variable ii, rr,cc;&lt;br /&gt;
_for ii(1,7,1){&lt;br /&gt;
   cc=1;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      if(rr==0){ cc++; continue; }&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, ii*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_for ii(8,9,1){&lt;br /&gt;
   cc=4;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, (ii+1)*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.5*wcell,5.5*hcell,&amp;quot;57--70&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,5.7*hcell,&amp;quot;\large *&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.5*hcell,&amp;quot;89--102&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.7*hcell,&amp;quot;\large **&amp;quot;R,0,0);&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.8*wcell,8.5*hcell,&amp;quot;{\large *}\,Lanthanoids&amp;quot;R,0.5,0);&lt;br /&gt;
pl.xylabel(3.8*wcell,9.5*hcell,&amp;quot;{\large **}\,Actinoids&amp;quot;R,0.5,0);&lt;br /&gt;
&lt;br /&gt;
% cell description:&lt;br /&gt;
variable sc = 1.2;&lt;br /&gt;
wcell *=sc; hcell *=sc;&lt;br /&gt;
pl.add_object(cell(0),5.4*wcell/sc,2.1*hcell/sc,-0.5,-0.5);&lt;br /&gt;
wcell /=sc; hcell /=sc;&lt;br /&gt;
&lt;br /&gt;
if(incolor){&lt;br /&gt;
   pl.xylabel((5.35+sc)*wcell,1.4*hcell, &amp;quot;\Huge\{&amp;quot;R,-0.5,0);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.125*hcell, &amp;quot;solid&amp;quot;, -0.5,0;color=&amp;quot;solid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.325*hcell, &amp;quot;liquid&amp;quot;, -0.5,0;color=&amp;quot;liquid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.525*hcell, &amp;quot;gas&amp;quot;, -0.5,0;color=&amp;quot;gas&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.65*hcell, &amp;quot;synthetic&amp;quot;, -0.5,0;color=&amp;quot;synthetic&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
   variable desc = [&amp;quot;alkali metals&amp;quot;, &amp;quot;alkaline earth metals&amp;quot;, &amp;quot;transitional metals&amp;quot;,&lt;br /&gt;
		    &amp;quot;other metals&amp;quot;, &amp;quot;nonmetals&amp;quot;, &amp;quot;noble gases&amp;quot;, &amp;quot;unknown group&amp;quot;];&lt;br /&gt;
   variable cl = [&amp;quot;alkali&amp;quot;,&amp;quot;alkaline&amp;quot;,&amp;quot;transmetal&amp;quot;,&amp;quot;metal&amp;quot;,&amp;quot;nonmetal&amp;quot;,&lt;br /&gt;
		  &amp;quot;noblegas&amp;quot;,&amp;quot;unknown&amp;quot;];&lt;br /&gt;
   variable bx;&lt;br /&gt;
   &lt;br /&gt;
   _for ii(0,6,1){&lt;br /&gt;
      bx = xfig_new_polyline([0,0,wcell/2.,wcell/2.],[0,hcell/4.,hcell/4.,0];&lt;br /&gt;
		    closed,areafill=30,fillcolor=cl[ii],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
      pl.add_object(bx,9.75*wcell,(0.75+ii*0.26)*hcell,0.5,0;depth=50);&lt;br /&gt;
      pl.xylabel(9.85*wcell,(0.75+ii*0.26)*hcell,desc[ii],-0.5,0);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.render(&amp;quot;pt.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1080</id>
		<title>Periodic Table of the Elements (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1080"/>
		<updated>2018-04-13T16:06:35Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Peridodic Table of the Elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
==== Peridodic Table of the Elements ====&lt;br /&gt;
&lt;br /&gt;
[[File:periodictable_nh.png|500x]]&lt;br /&gt;
&lt;br /&gt;
This script loads a datafile (ptdata.sl) with the symbols, names, and other properties in form of an array of lists. The array is built such that the index of an entry equals the proton number //Z//. Some of the properties (e.g., groups like metals / nonmetals, state, ...) are used as names for color definitions.&lt;br /&gt;
&lt;br /&gt;
The data file format is as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable elements = [{&amp;quot;Symbol&amp;quot;,&amp;quot;Element Name&amp;quot;,&amp;quot;\centering \small Atomic\\Weight&amp;quot;R,&amp;quot;black&amp;quot;,&amp;quot;white&amp;quot;},&lt;br /&gt;
{&amp;quot;H&amp;quot;,   &amp;quot;Hydrogen&amp;quot;,      &amp;quot;1.01&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;alkali&amp;quot;},&lt;br /&gt;
{&amp;quot;He&amp;quot;,  &amp;quot;Helium&amp;quot;,        &amp;quot;4.00&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;noblegas&amp;quot;},&lt;br /&gt;
...&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, the code is written in a way that allows to easily switch between color and black/white versions of the table via a simple integer variable ''incolor'', which triggers different color definitions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% periodic table entries:&lt;br /&gt;
require(&amp;quot;ptdata.sl&amp;quot;);&lt;br /&gt;
%-&amp;gt; variable elements&lt;br /&gt;
&lt;br /&gt;
variable incolor = 1;&lt;br /&gt;
if(incolor){&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.4  , 0.4  , 0.4   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(0.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 0.5  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(0.  , .4  , 0.8   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(0.75  , 0.75  , .75   ) );&lt;br /&gt;
}else{&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% a map for the positions of the individual elements (Z) in the periodic table&lt;br /&gt;
variable rows = {&lt;br /&gt;
   [1,0*ones(17),2],&lt;br /&gt;
   [3,4,0*ones(11),[5:10]],&lt;br /&gt;
   [11,12,0*ones(11),[13:18]],&lt;br /&gt;
   [19,20,0,[21:36]],&lt;br /&gt;
   [37,38,0,[39:54]],&lt;br /&gt;
   [55,56,0,[71:86]],&lt;br /&gt;
   [87,88,0,[103:118]],&lt;br /&gt;
   [57:70],&lt;br /&gt;
   [89:102]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
% the dimensions for the cells of the table&lt;br /&gt;
variable wcell = 2.15;&lt;br /&gt;
variable hcell = 2.5;&lt;br /&gt;
&lt;br /&gt;
define cell(Z){&lt;br /&gt;
   variable xc = xfig_plot_new(wcell,hcell);&lt;br /&gt;
   xc.world(0,wcell,0,hcell);&lt;br /&gt;
   xc.axes(;off);&lt;br /&gt;
   xc.plot([0,0,wcell,wcell,0],[0,hcell,hcell,0,0];depth=15);&lt;br /&gt;
   variable bg = xfig_new_polyline([0,0,wcell,wcell],[0,hcell,hcell,0];&lt;br /&gt;
			  closed,areafill=30,fillcolor=elements[Z][4],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
   xc.add_object(bg,0,0,-0.5,-0.5;depth=50);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.1*hcell, sprintf(&amp;quot;\usefont{T1}{arial}{b}{n}\scriptsize %s&amp;quot;R,elements[Z][1]),0,0;depth=10);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.58*hcell, elements[Z][0] ,0,0; size=&amp;quot;\Large&amp;quot;R, color=elements[Z][3],depth=10);&lt;br /&gt;
   if(Z==0){ &lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;Z&amp;quot; ,-0.5,0 ;depth=10);&lt;br /&gt;
   }else{&lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;$Z&amp;quot;$ ,-0.5,0 ;depth=10);&lt;br /&gt;
   }&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.31*hcell, elements[Z][2] ,0,0 ;depth=10);&lt;br /&gt;
   return xc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable pl = xfig_plot_new(19*wcell,10*hcell);&lt;br /&gt;
pl.world(1,19*wcell,10*hcell,1);&lt;br /&gt;
pl.axes(;off);&lt;br /&gt;
&lt;br /&gt;
variable ii, rr,cc;&lt;br /&gt;
_for ii(1,7,1){&lt;br /&gt;
   cc=1;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      if(rr==0){ cc++; continue; }&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, ii*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_for ii(8,9,1){&lt;br /&gt;
   cc=4;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, (ii+1)*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.5*wcell,5.5*hcell,&amp;quot;57--70&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,5.7*hcell,&amp;quot;\large *&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.5*hcell,&amp;quot;89--102&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.7*hcell,&amp;quot;\large **&amp;quot;R,0,0);&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.8*wcell,8.5*hcell,&amp;quot;{\large *}\,Lanthanoids&amp;quot;R,0.5,0);&lt;br /&gt;
pl.xylabel(3.8*wcell,9.5*hcell,&amp;quot;{\large **}\,Actinoids&amp;quot;R,0.5,0);&lt;br /&gt;
&lt;br /&gt;
% cell description:&lt;br /&gt;
variable sc = 1.2;&lt;br /&gt;
wcell *=sc; hcell *=sc;&lt;br /&gt;
pl.add_object(cell(0),5.4*wcell/sc,2.1*hcell/sc,-0.5,-0.5);&lt;br /&gt;
wcell /=sc; hcell /=sc;&lt;br /&gt;
&lt;br /&gt;
if(incolor){&lt;br /&gt;
   pl.xylabel((5.35+sc)*wcell,1.4*hcell, &amp;quot;\Huge\{&amp;quot;R,-0.5,0);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.125*hcell, &amp;quot;solid&amp;quot;, -0.5,0;color=&amp;quot;solid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.325*hcell, &amp;quot;liquid&amp;quot;, -0.5,0;color=&amp;quot;liquid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.525*hcell, &amp;quot;gas&amp;quot;, -0.5,0;color=&amp;quot;gas&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.65*hcell, &amp;quot;synthetic&amp;quot;, -0.5,0;color=&amp;quot;synthetic&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
   variable desc = [&amp;quot;alkali metals&amp;quot;, &amp;quot;alkaline earth metals&amp;quot;, &amp;quot;transitional metals&amp;quot;,&lt;br /&gt;
		    &amp;quot;other metals&amp;quot;, &amp;quot;nonmetals&amp;quot;, &amp;quot;noble gases&amp;quot;, &amp;quot;unknown group&amp;quot;];&lt;br /&gt;
   variable cl = [&amp;quot;alkali&amp;quot;,&amp;quot;alkaline&amp;quot;,&amp;quot;transmetal&amp;quot;,&amp;quot;metal&amp;quot;,&amp;quot;nonmetal&amp;quot;,&lt;br /&gt;
		  &amp;quot;noblegas&amp;quot;,&amp;quot;unknown&amp;quot;];&lt;br /&gt;
   variable bx;&lt;br /&gt;
   &lt;br /&gt;
   _for ii(0,6,1){&lt;br /&gt;
      bx = xfig_new_polyline([0,0,wcell/2.,wcell/2.],[0,hcell/4.,hcell/4.,0];&lt;br /&gt;
		    closed,areafill=30,fillcolor=cl[ii],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
      pl.add_object(bx,9.75*wcell,(0.75+ii*0.26)*hcell,0.5,0;depth=50);&lt;br /&gt;
      pl.xylabel(9.85*wcell,(0.75+ii*0.26)*hcell,desc[ii],-0.5,0);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.render(&amp;quot;pt.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1079</id>
		<title>Periodic Table of the Elements (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1079"/>
		<updated>2018-04-13T16:06:24Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Peridodic Table of the Elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
==== Peridodic Table of the Elements ====&lt;br /&gt;
&lt;br /&gt;
[[File:periodictable_nh.png|1000x]]&lt;br /&gt;
&lt;br /&gt;
This script loads a datafile (ptdata.sl) with the symbols, names, and other properties in form of an array of lists. The array is built such that the index of an entry equals the proton number //Z//. Some of the properties (e.g., groups like metals / nonmetals, state, ...) are used as names for color definitions.&lt;br /&gt;
&lt;br /&gt;
The data file format is as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable elements = [{&amp;quot;Symbol&amp;quot;,&amp;quot;Element Name&amp;quot;,&amp;quot;\centering \small Atomic\\Weight&amp;quot;R,&amp;quot;black&amp;quot;,&amp;quot;white&amp;quot;},&lt;br /&gt;
{&amp;quot;H&amp;quot;,   &amp;quot;Hydrogen&amp;quot;,      &amp;quot;1.01&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;alkali&amp;quot;},&lt;br /&gt;
{&amp;quot;He&amp;quot;,  &amp;quot;Helium&amp;quot;,        &amp;quot;4.00&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;noblegas&amp;quot;},&lt;br /&gt;
...&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, the code is written in a way that allows to easily switch between color and black/white versions of the table via a simple integer variable ''incolor'', which triggers different color definitions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% periodic table entries:&lt;br /&gt;
require(&amp;quot;ptdata.sl&amp;quot;);&lt;br /&gt;
%-&amp;gt; variable elements&lt;br /&gt;
&lt;br /&gt;
variable incolor = 1;&lt;br /&gt;
if(incolor){&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.4  , 0.4  , 0.4   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(0.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 0.5  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(0.  , .4  , 0.8   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(0.75  , 0.75  , .75   ) );&lt;br /&gt;
}else{&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% a map for the positions of the individual elements (Z) in the periodic table&lt;br /&gt;
variable rows = {&lt;br /&gt;
   [1,0*ones(17),2],&lt;br /&gt;
   [3,4,0*ones(11),[5:10]],&lt;br /&gt;
   [11,12,0*ones(11),[13:18]],&lt;br /&gt;
   [19,20,0,[21:36]],&lt;br /&gt;
   [37,38,0,[39:54]],&lt;br /&gt;
   [55,56,0,[71:86]],&lt;br /&gt;
   [87,88,0,[103:118]],&lt;br /&gt;
   [57:70],&lt;br /&gt;
   [89:102]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
% the dimensions for the cells of the table&lt;br /&gt;
variable wcell = 2.15;&lt;br /&gt;
variable hcell = 2.5;&lt;br /&gt;
&lt;br /&gt;
define cell(Z){&lt;br /&gt;
   variable xc = xfig_plot_new(wcell,hcell);&lt;br /&gt;
   xc.world(0,wcell,0,hcell);&lt;br /&gt;
   xc.axes(;off);&lt;br /&gt;
   xc.plot([0,0,wcell,wcell,0],[0,hcell,hcell,0,0];depth=15);&lt;br /&gt;
   variable bg = xfig_new_polyline([0,0,wcell,wcell],[0,hcell,hcell,0];&lt;br /&gt;
			  closed,areafill=30,fillcolor=elements[Z][4],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
   xc.add_object(bg,0,0,-0.5,-0.5;depth=50);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.1*hcell, sprintf(&amp;quot;\usefont{T1}{arial}{b}{n}\scriptsize %s&amp;quot;R,elements[Z][1]),0,0;depth=10);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.58*hcell, elements[Z][0] ,0,0; size=&amp;quot;\Large&amp;quot;R, color=elements[Z][3],depth=10);&lt;br /&gt;
   if(Z==0){ &lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;Z&amp;quot; ,-0.5,0 ;depth=10);&lt;br /&gt;
   }else{&lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;$Z&amp;quot;$ ,-0.5,0 ;depth=10);&lt;br /&gt;
   }&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.31*hcell, elements[Z][2] ,0,0 ;depth=10);&lt;br /&gt;
   return xc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable pl = xfig_plot_new(19*wcell,10*hcell);&lt;br /&gt;
pl.world(1,19*wcell,10*hcell,1);&lt;br /&gt;
pl.axes(;off);&lt;br /&gt;
&lt;br /&gt;
variable ii, rr,cc;&lt;br /&gt;
_for ii(1,7,1){&lt;br /&gt;
   cc=1;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      if(rr==0){ cc++; continue; }&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, ii*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_for ii(8,9,1){&lt;br /&gt;
   cc=4;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, (ii+1)*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.5*wcell,5.5*hcell,&amp;quot;57--70&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,5.7*hcell,&amp;quot;\large *&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.5*hcell,&amp;quot;89--102&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.7*hcell,&amp;quot;\large **&amp;quot;R,0,0);&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.8*wcell,8.5*hcell,&amp;quot;{\large *}\,Lanthanoids&amp;quot;R,0.5,0);&lt;br /&gt;
pl.xylabel(3.8*wcell,9.5*hcell,&amp;quot;{\large **}\,Actinoids&amp;quot;R,0.5,0);&lt;br /&gt;
&lt;br /&gt;
% cell description:&lt;br /&gt;
variable sc = 1.2;&lt;br /&gt;
wcell *=sc; hcell *=sc;&lt;br /&gt;
pl.add_object(cell(0),5.4*wcell/sc,2.1*hcell/sc,-0.5,-0.5);&lt;br /&gt;
wcell /=sc; hcell /=sc;&lt;br /&gt;
&lt;br /&gt;
if(incolor){&lt;br /&gt;
   pl.xylabel((5.35+sc)*wcell,1.4*hcell, &amp;quot;\Huge\{&amp;quot;R,-0.5,0);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.125*hcell, &amp;quot;solid&amp;quot;, -0.5,0;color=&amp;quot;solid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.325*hcell, &amp;quot;liquid&amp;quot;, -0.5,0;color=&amp;quot;liquid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.525*hcell, &amp;quot;gas&amp;quot;, -0.5,0;color=&amp;quot;gas&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.65*hcell, &amp;quot;synthetic&amp;quot;, -0.5,0;color=&amp;quot;synthetic&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
   variable desc = [&amp;quot;alkali metals&amp;quot;, &amp;quot;alkaline earth metals&amp;quot;, &amp;quot;transitional metals&amp;quot;,&lt;br /&gt;
		    &amp;quot;other metals&amp;quot;, &amp;quot;nonmetals&amp;quot;, &amp;quot;noble gases&amp;quot;, &amp;quot;unknown group&amp;quot;];&lt;br /&gt;
   variable cl = [&amp;quot;alkali&amp;quot;,&amp;quot;alkaline&amp;quot;,&amp;quot;transmetal&amp;quot;,&amp;quot;metal&amp;quot;,&amp;quot;nonmetal&amp;quot;,&lt;br /&gt;
		  &amp;quot;noblegas&amp;quot;,&amp;quot;unknown&amp;quot;];&lt;br /&gt;
   variable bx;&lt;br /&gt;
   &lt;br /&gt;
   _for ii(0,6,1){&lt;br /&gt;
      bx = xfig_new_polyline([0,0,wcell/2.,wcell/2.],[0,hcell/4.,hcell/4.,0];&lt;br /&gt;
		    closed,areafill=30,fillcolor=cl[ii],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
      pl.add_object(bx,9.75*wcell,(0.75+ii*0.26)*hcell,0.5,0;depth=50);&lt;br /&gt;
      pl.xylabel(9.85*wcell,(0.75+ii*0.26)*hcell,desc[ii],-0.5,0);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.render(&amp;quot;pt.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1078</id>
		<title>Periodic Table of the Elements (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1078"/>
		<updated>2018-04-13T16:06:17Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Peridodic Table of the Elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
==== Peridodic Table of the Elements ====&lt;br /&gt;
&lt;br /&gt;
[[File:periodictable_nh.png|1000]]&lt;br /&gt;
&lt;br /&gt;
This script loads a datafile (ptdata.sl) with the symbols, names, and other properties in form of an array of lists. The array is built such that the index of an entry equals the proton number //Z//. Some of the properties (e.g., groups like metals / nonmetals, state, ...) are used as names for color definitions.&lt;br /&gt;
&lt;br /&gt;
The data file format is as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable elements = [{&amp;quot;Symbol&amp;quot;,&amp;quot;Element Name&amp;quot;,&amp;quot;\centering \small Atomic\\Weight&amp;quot;R,&amp;quot;black&amp;quot;,&amp;quot;white&amp;quot;},&lt;br /&gt;
{&amp;quot;H&amp;quot;,   &amp;quot;Hydrogen&amp;quot;,      &amp;quot;1.01&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;alkali&amp;quot;},&lt;br /&gt;
{&amp;quot;He&amp;quot;,  &amp;quot;Helium&amp;quot;,        &amp;quot;4.00&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;noblegas&amp;quot;},&lt;br /&gt;
...&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, the code is written in a way that allows to easily switch between color and black/white versions of the table via a simple integer variable ''incolor'', which triggers different color definitions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% periodic table entries:&lt;br /&gt;
require(&amp;quot;ptdata.sl&amp;quot;);&lt;br /&gt;
%-&amp;gt; variable elements&lt;br /&gt;
&lt;br /&gt;
variable incolor = 1;&lt;br /&gt;
if(incolor){&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.4  , 0.4  , 0.4   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(0.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 0.5  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(0.  , .4  , 0.8   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(0.75  , 0.75  , .75   ) );&lt;br /&gt;
}else{&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% a map for the positions of the individual elements (Z) in the periodic table&lt;br /&gt;
variable rows = {&lt;br /&gt;
   [1,0*ones(17),2],&lt;br /&gt;
   [3,4,0*ones(11),[5:10]],&lt;br /&gt;
   [11,12,0*ones(11),[13:18]],&lt;br /&gt;
   [19,20,0,[21:36]],&lt;br /&gt;
   [37,38,0,[39:54]],&lt;br /&gt;
   [55,56,0,[71:86]],&lt;br /&gt;
   [87,88,0,[103:118]],&lt;br /&gt;
   [57:70],&lt;br /&gt;
   [89:102]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
% the dimensions for the cells of the table&lt;br /&gt;
variable wcell = 2.15;&lt;br /&gt;
variable hcell = 2.5;&lt;br /&gt;
&lt;br /&gt;
define cell(Z){&lt;br /&gt;
   variable xc = xfig_plot_new(wcell,hcell);&lt;br /&gt;
   xc.world(0,wcell,0,hcell);&lt;br /&gt;
   xc.axes(;off);&lt;br /&gt;
   xc.plot([0,0,wcell,wcell,0],[0,hcell,hcell,0,0];depth=15);&lt;br /&gt;
   variable bg = xfig_new_polyline([0,0,wcell,wcell],[0,hcell,hcell,0];&lt;br /&gt;
			  closed,areafill=30,fillcolor=elements[Z][4],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
   xc.add_object(bg,0,0,-0.5,-0.5;depth=50);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.1*hcell, sprintf(&amp;quot;\usefont{T1}{arial}{b}{n}\scriptsize %s&amp;quot;R,elements[Z][1]),0,0;depth=10);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.58*hcell, elements[Z][0] ,0,0; size=&amp;quot;\Large&amp;quot;R, color=elements[Z][3],depth=10);&lt;br /&gt;
   if(Z==0){ &lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;Z&amp;quot; ,-0.5,0 ;depth=10);&lt;br /&gt;
   }else{&lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;$Z&amp;quot;$ ,-0.5,0 ;depth=10);&lt;br /&gt;
   }&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.31*hcell, elements[Z][2] ,0,0 ;depth=10);&lt;br /&gt;
   return xc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable pl = xfig_plot_new(19*wcell,10*hcell);&lt;br /&gt;
pl.world(1,19*wcell,10*hcell,1);&lt;br /&gt;
pl.axes(;off);&lt;br /&gt;
&lt;br /&gt;
variable ii, rr,cc;&lt;br /&gt;
_for ii(1,7,1){&lt;br /&gt;
   cc=1;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      if(rr==0){ cc++; continue; }&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, ii*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_for ii(8,9,1){&lt;br /&gt;
   cc=4;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, (ii+1)*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.5*wcell,5.5*hcell,&amp;quot;57--70&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,5.7*hcell,&amp;quot;\large *&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.5*hcell,&amp;quot;89--102&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.7*hcell,&amp;quot;\large **&amp;quot;R,0,0);&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.8*wcell,8.5*hcell,&amp;quot;{\large *}\,Lanthanoids&amp;quot;R,0.5,0);&lt;br /&gt;
pl.xylabel(3.8*wcell,9.5*hcell,&amp;quot;{\large **}\,Actinoids&amp;quot;R,0.5,0);&lt;br /&gt;
&lt;br /&gt;
% cell description:&lt;br /&gt;
variable sc = 1.2;&lt;br /&gt;
wcell *=sc; hcell *=sc;&lt;br /&gt;
pl.add_object(cell(0),5.4*wcell/sc,2.1*hcell/sc,-0.5,-0.5);&lt;br /&gt;
wcell /=sc; hcell /=sc;&lt;br /&gt;
&lt;br /&gt;
if(incolor){&lt;br /&gt;
   pl.xylabel((5.35+sc)*wcell,1.4*hcell, &amp;quot;\Huge\{&amp;quot;R,-0.5,0);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.125*hcell, &amp;quot;solid&amp;quot;, -0.5,0;color=&amp;quot;solid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.325*hcell, &amp;quot;liquid&amp;quot;, -0.5,0;color=&amp;quot;liquid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.525*hcell, &amp;quot;gas&amp;quot;, -0.5,0;color=&amp;quot;gas&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.65*hcell, &amp;quot;synthetic&amp;quot;, -0.5,0;color=&amp;quot;synthetic&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
   variable desc = [&amp;quot;alkali metals&amp;quot;, &amp;quot;alkaline earth metals&amp;quot;, &amp;quot;transitional metals&amp;quot;,&lt;br /&gt;
		    &amp;quot;other metals&amp;quot;, &amp;quot;nonmetals&amp;quot;, &amp;quot;noble gases&amp;quot;, &amp;quot;unknown group&amp;quot;];&lt;br /&gt;
   variable cl = [&amp;quot;alkali&amp;quot;,&amp;quot;alkaline&amp;quot;,&amp;quot;transmetal&amp;quot;,&amp;quot;metal&amp;quot;,&amp;quot;nonmetal&amp;quot;,&lt;br /&gt;
		  &amp;quot;noblegas&amp;quot;,&amp;quot;unknown&amp;quot;];&lt;br /&gt;
   variable bx;&lt;br /&gt;
   &lt;br /&gt;
   _for ii(0,6,1){&lt;br /&gt;
      bx = xfig_new_polyline([0,0,wcell/2.,wcell/2.],[0,hcell/4.,hcell/4.,0];&lt;br /&gt;
		    closed,areafill=30,fillcolor=cl[ii],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
      pl.add_object(bx,9.75*wcell,(0.75+ii*0.26)*hcell,0.5,0;depth=50);&lt;br /&gt;
      pl.xylabel(9.85*wcell,(0.75+ii*0.26)*hcell,desc[ii],-0.5,0);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.render(&amp;quot;pt.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1077</id>
		<title>Periodic Table of the Elements (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1077"/>
		<updated>2018-04-13T16:06:03Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Peridodic Table of the Elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
==== Peridodic Table of the Elements ====&lt;br /&gt;
&lt;br /&gt;
[[File:periodictable_nh.png]]&lt;br /&gt;
&lt;br /&gt;
This script loads a datafile (ptdata.sl) with the symbols, names, and other properties in form of an array of lists. The array is built such that the index of an entry equals the proton number //Z//. Some of the properties (e.g., groups like metals / nonmetals, state, ...) are used as names for color definitions.&lt;br /&gt;
&lt;br /&gt;
The data file format is as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable elements = [{&amp;quot;Symbol&amp;quot;,&amp;quot;Element Name&amp;quot;,&amp;quot;\centering \small Atomic\\Weight&amp;quot;R,&amp;quot;black&amp;quot;,&amp;quot;white&amp;quot;},&lt;br /&gt;
{&amp;quot;H&amp;quot;,   &amp;quot;Hydrogen&amp;quot;,      &amp;quot;1.01&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;alkali&amp;quot;},&lt;br /&gt;
{&amp;quot;He&amp;quot;,  &amp;quot;Helium&amp;quot;,        &amp;quot;4.00&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;noblegas&amp;quot;},&lt;br /&gt;
...&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, the code is written in a way that allows to easily switch between color and black/white versions of the table via a simple integer variable ''incolor'', which triggers different color definitions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% periodic table entries:&lt;br /&gt;
require(&amp;quot;ptdata.sl&amp;quot;);&lt;br /&gt;
%-&amp;gt; variable elements&lt;br /&gt;
&lt;br /&gt;
variable incolor = 1;&lt;br /&gt;
if(incolor){&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.4  , 0.4  , 0.4   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(0.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 0.5  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(0.  , .4  , 0.8   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(0.75  , 0.75  , .75   ) );&lt;br /&gt;
}else{&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% a map for the positions of the individual elements (Z) in the periodic table&lt;br /&gt;
variable rows = {&lt;br /&gt;
   [1,0*ones(17),2],&lt;br /&gt;
   [3,4,0*ones(11),[5:10]],&lt;br /&gt;
   [11,12,0*ones(11),[13:18]],&lt;br /&gt;
   [19,20,0,[21:36]],&lt;br /&gt;
   [37,38,0,[39:54]],&lt;br /&gt;
   [55,56,0,[71:86]],&lt;br /&gt;
   [87,88,0,[103:118]],&lt;br /&gt;
   [57:70],&lt;br /&gt;
   [89:102]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
% the dimensions for the cells of the table&lt;br /&gt;
variable wcell = 2.15;&lt;br /&gt;
variable hcell = 2.5;&lt;br /&gt;
&lt;br /&gt;
define cell(Z){&lt;br /&gt;
   variable xc = xfig_plot_new(wcell,hcell);&lt;br /&gt;
   xc.world(0,wcell,0,hcell);&lt;br /&gt;
   xc.axes(;off);&lt;br /&gt;
   xc.plot([0,0,wcell,wcell,0],[0,hcell,hcell,0,0];depth=15);&lt;br /&gt;
   variable bg = xfig_new_polyline([0,0,wcell,wcell],[0,hcell,hcell,0];&lt;br /&gt;
			  closed,areafill=30,fillcolor=elements[Z][4],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
   xc.add_object(bg,0,0,-0.5,-0.5;depth=50);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.1*hcell, sprintf(&amp;quot;\usefont{T1}{arial}{b}{n}\scriptsize %s&amp;quot;R,elements[Z][1]),0,0;depth=10);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.58*hcell, elements[Z][0] ,0,0; size=&amp;quot;\Large&amp;quot;R, color=elements[Z][3],depth=10);&lt;br /&gt;
   if(Z==0){ &lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;Z&amp;quot; ,-0.5,0 ;depth=10);&lt;br /&gt;
   }else{&lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;$Z&amp;quot;$ ,-0.5,0 ;depth=10);&lt;br /&gt;
   }&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.31*hcell, elements[Z][2] ,0,0 ;depth=10);&lt;br /&gt;
   return xc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable pl = xfig_plot_new(19*wcell,10*hcell);&lt;br /&gt;
pl.world(1,19*wcell,10*hcell,1);&lt;br /&gt;
pl.axes(;off);&lt;br /&gt;
&lt;br /&gt;
variable ii, rr,cc;&lt;br /&gt;
_for ii(1,7,1){&lt;br /&gt;
   cc=1;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      if(rr==0){ cc++; continue; }&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, ii*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_for ii(8,9,1){&lt;br /&gt;
   cc=4;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, (ii+1)*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.5*wcell,5.5*hcell,&amp;quot;57--70&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,5.7*hcell,&amp;quot;\large *&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.5*hcell,&amp;quot;89--102&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.7*hcell,&amp;quot;\large **&amp;quot;R,0,0);&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.8*wcell,8.5*hcell,&amp;quot;{\large *}\,Lanthanoids&amp;quot;R,0.5,0);&lt;br /&gt;
pl.xylabel(3.8*wcell,9.5*hcell,&amp;quot;{\large **}\,Actinoids&amp;quot;R,0.5,0);&lt;br /&gt;
&lt;br /&gt;
% cell description:&lt;br /&gt;
variable sc = 1.2;&lt;br /&gt;
wcell *=sc; hcell *=sc;&lt;br /&gt;
pl.add_object(cell(0),5.4*wcell/sc,2.1*hcell/sc,-0.5,-0.5);&lt;br /&gt;
wcell /=sc; hcell /=sc;&lt;br /&gt;
&lt;br /&gt;
if(incolor){&lt;br /&gt;
   pl.xylabel((5.35+sc)*wcell,1.4*hcell, &amp;quot;\Huge\{&amp;quot;R,-0.5,0);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.125*hcell, &amp;quot;solid&amp;quot;, -0.5,0;color=&amp;quot;solid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.325*hcell, &amp;quot;liquid&amp;quot;, -0.5,0;color=&amp;quot;liquid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.525*hcell, &amp;quot;gas&amp;quot;, -0.5,0;color=&amp;quot;gas&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.65*hcell, &amp;quot;synthetic&amp;quot;, -0.5,0;color=&amp;quot;synthetic&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
   variable desc = [&amp;quot;alkali metals&amp;quot;, &amp;quot;alkaline earth metals&amp;quot;, &amp;quot;transitional metals&amp;quot;,&lt;br /&gt;
		    &amp;quot;other metals&amp;quot;, &amp;quot;nonmetals&amp;quot;, &amp;quot;noble gases&amp;quot;, &amp;quot;unknown group&amp;quot;];&lt;br /&gt;
   variable cl = [&amp;quot;alkali&amp;quot;,&amp;quot;alkaline&amp;quot;,&amp;quot;transmetal&amp;quot;,&amp;quot;metal&amp;quot;,&amp;quot;nonmetal&amp;quot;,&lt;br /&gt;
		  &amp;quot;noblegas&amp;quot;,&amp;quot;unknown&amp;quot;];&lt;br /&gt;
   variable bx;&lt;br /&gt;
   &lt;br /&gt;
   _for ii(0,6,1){&lt;br /&gt;
      bx = xfig_new_polyline([0,0,wcell/2.,wcell/2.],[0,hcell/4.,hcell/4.,0];&lt;br /&gt;
		    closed,areafill=30,fillcolor=cl[ii],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
      pl.add_object(bx,9.75*wcell,(0.75+ii*0.26)*hcell,0.5,0;depth=50);&lt;br /&gt;
      pl.xylabel(9.85*wcell,(0.75+ii*0.26)*hcell,desc[ii],-0.5,0);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.render(&amp;quot;pt.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1076</id>
		<title>Periodic Table of the Elements (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1076"/>
		<updated>2018-04-13T16:05:47Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* Peridodic Table of the Elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
==== Peridodic Table of the Elements ====&lt;br /&gt;
&lt;br /&gt;
[[File:periodictable_nh.png?nolink&amp;amp;1000]]&lt;br /&gt;
&lt;br /&gt;
This script loads a datafile (ptdata.sl) with the symbols, names, and other properties in form of an array of lists. The array is built such that the index of an entry equals the proton number //Z//. Some of the properties (e.g., groups like metals / nonmetals, state, ...) are used as names for color definitions.&lt;br /&gt;
&lt;br /&gt;
The data file format is as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable elements = [{&amp;quot;Symbol&amp;quot;,&amp;quot;Element Name&amp;quot;,&amp;quot;\centering \small Atomic\\Weight&amp;quot;R,&amp;quot;black&amp;quot;,&amp;quot;white&amp;quot;},&lt;br /&gt;
{&amp;quot;H&amp;quot;,   &amp;quot;Hydrogen&amp;quot;,      &amp;quot;1.01&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;alkali&amp;quot;},&lt;br /&gt;
{&amp;quot;He&amp;quot;,  &amp;quot;Helium&amp;quot;,        &amp;quot;4.00&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;noblegas&amp;quot;},&lt;br /&gt;
...&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, the code is written in a way that allows to easily switch between color and black/white versions of the table via a simple integer variable ''incolor'', which triggers different color definitions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% periodic table entries:&lt;br /&gt;
require(&amp;quot;ptdata.sl&amp;quot;);&lt;br /&gt;
%-&amp;gt; variable elements&lt;br /&gt;
&lt;br /&gt;
variable incolor = 1;&lt;br /&gt;
if(incolor){&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.4  , 0.4  , 0.4   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(0.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 0.5  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(0.  , .4  , 0.8   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(0.75  , 0.75  , .75   ) );&lt;br /&gt;
}else{&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% a map for the positions of the individual elements (Z) in the periodic table&lt;br /&gt;
variable rows = {&lt;br /&gt;
   [1,0*ones(17),2],&lt;br /&gt;
   [3,4,0*ones(11),[5:10]],&lt;br /&gt;
   [11,12,0*ones(11),[13:18]],&lt;br /&gt;
   [19,20,0,[21:36]],&lt;br /&gt;
   [37,38,0,[39:54]],&lt;br /&gt;
   [55,56,0,[71:86]],&lt;br /&gt;
   [87,88,0,[103:118]],&lt;br /&gt;
   [57:70],&lt;br /&gt;
   [89:102]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
% the dimensions for the cells of the table&lt;br /&gt;
variable wcell = 2.15;&lt;br /&gt;
variable hcell = 2.5;&lt;br /&gt;
&lt;br /&gt;
define cell(Z){&lt;br /&gt;
   variable xc = xfig_plot_new(wcell,hcell);&lt;br /&gt;
   xc.world(0,wcell,0,hcell);&lt;br /&gt;
   xc.axes(;off);&lt;br /&gt;
   xc.plot([0,0,wcell,wcell,0],[0,hcell,hcell,0,0];depth=15);&lt;br /&gt;
   variable bg = xfig_new_polyline([0,0,wcell,wcell],[0,hcell,hcell,0];&lt;br /&gt;
			  closed,areafill=30,fillcolor=elements[Z][4],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
   xc.add_object(bg,0,0,-0.5,-0.5;depth=50);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.1*hcell, sprintf(&amp;quot;\usefont{T1}{arial}{b}{n}\scriptsize %s&amp;quot;R,elements[Z][1]),0,0;depth=10);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.58*hcell, elements[Z][0] ,0,0; size=&amp;quot;\Large&amp;quot;R, color=elements[Z][3],depth=10);&lt;br /&gt;
   if(Z==0){ &lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;Z&amp;quot; ,-0.5,0 ;depth=10);&lt;br /&gt;
   }else{&lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;$Z&amp;quot;$ ,-0.5,0 ;depth=10);&lt;br /&gt;
   }&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.31*hcell, elements[Z][2] ,0,0 ;depth=10);&lt;br /&gt;
   return xc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable pl = xfig_plot_new(19*wcell,10*hcell);&lt;br /&gt;
pl.world(1,19*wcell,10*hcell,1);&lt;br /&gt;
pl.axes(;off);&lt;br /&gt;
&lt;br /&gt;
variable ii, rr,cc;&lt;br /&gt;
_for ii(1,7,1){&lt;br /&gt;
   cc=1;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      if(rr==0){ cc++; continue; }&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, ii*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_for ii(8,9,1){&lt;br /&gt;
   cc=4;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, (ii+1)*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.5*wcell,5.5*hcell,&amp;quot;57--70&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,5.7*hcell,&amp;quot;\large *&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.5*hcell,&amp;quot;89--102&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.7*hcell,&amp;quot;\large **&amp;quot;R,0,0);&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.8*wcell,8.5*hcell,&amp;quot;{\large *}\,Lanthanoids&amp;quot;R,0.5,0);&lt;br /&gt;
pl.xylabel(3.8*wcell,9.5*hcell,&amp;quot;{\large **}\,Actinoids&amp;quot;R,0.5,0);&lt;br /&gt;
&lt;br /&gt;
% cell description:&lt;br /&gt;
variable sc = 1.2;&lt;br /&gt;
wcell *=sc; hcell *=sc;&lt;br /&gt;
pl.add_object(cell(0),5.4*wcell/sc,2.1*hcell/sc,-0.5,-0.5);&lt;br /&gt;
wcell /=sc; hcell /=sc;&lt;br /&gt;
&lt;br /&gt;
if(incolor){&lt;br /&gt;
   pl.xylabel((5.35+sc)*wcell,1.4*hcell, &amp;quot;\Huge\{&amp;quot;R,-0.5,0);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.125*hcell, &amp;quot;solid&amp;quot;, -0.5,0;color=&amp;quot;solid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.325*hcell, &amp;quot;liquid&amp;quot;, -0.5,0;color=&amp;quot;liquid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.525*hcell, &amp;quot;gas&amp;quot;, -0.5,0;color=&amp;quot;gas&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.65*hcell, &amp;quot;synthetic&amp;quot;, -0.5,0;color=&amp;quot;synthetic&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
   variable desc = [&amp;quot;alkali metals&amp;quot;, &amp;quot;alkaline earth metals&amp;quot;, &amp;quot;transitional metals&amp;quot;,&lt;br /&gt;
		    &amp;quot;other metals&amp;quot;, &amp;quot;nonmetals&amp;quot;, &amp;quot;noble gases&amp;quot;, &amp;quot;unknown group&amp;quot;];&lt;br /&gt;
   variable cl = [&amp;quot;alkali&amp;quot;,&amp;quot;alkaline&amp;quot;,&amp;quot;transmetal&amp;quot;,&amp;quot;metal&amp;quot;,&amp;quot;nonmetal&amp;quot;,&lt;br /&gt;
		  &amp;quot;noblegas&amp;quot;,&amp;quot;unknown&amp;quot;];&lt;br /&gt;
   variable bx;&lt;br /&gt;
   &lt;br /&gt;
   _for ii(0,6,1){&lt;br /&gt;
      bx = xfig_new_polyline([0,0,wcell/2.,wcell/2.],[0,hcell/4.,hcell/4.,0];&lt;br /&gt;
		    closed,areafill=30,fillcolor=cl[ii],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
      pl.add_object(bx,9.75*wcell,(0.75+ii*0.26)*hcell,0.5,0;depth=50);&lt;br /&gt;
      pl.xylabel(9.85*wcell,(0.75+ii*0.26)*hcell,desc[ii],-0.5,0);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.render(&amp;quot;pt.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1075</id>
		<title>Periodic Table of the Elements (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Periodic_Table_of_the_Elements_(xfig_example)&amp;diff=1075"/>
		<updated>2018-04-13T16:05:11Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:SLxfig  ==== Peridodic Table of the Elements ====  {{:isis:slxfig:periodictable_nh.png?nolink&amp;amp;1000|}}  This script loads a datafile (ptdata.sl) with the symbols...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
==== Peridodic Table of the Elements ====&lt;br /&gt;
&lt;br /&gt;
{{:isis:slxfig:periodictable_nh.png?nolink&amp;amp;1000|}}&lt;br /&gt;
&lt;br /&gt;
This script loads a datafile (ptdata.sl) with the symbols, names, and other properties in form of an array of lists. The array is built such that the index of an entry equals the proton number //Z//. Some of the properties (e.g., groups like metals / nonmetals, state, ...) are used as names for color definitions.&lt;br /&gt;
&lt;br /&gt;
The data file format is as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable elements = [{&amp;quot;Symbol&amp;quot;,&amp;quot;Element Name&amp;quot;,&amp;quot;\centering \small Atomic\\Weight&amp;quot;R,&amp;quot;black&amp;quot;,&amp;quot;white&amp;quot;},&lt;br /&gt;
{&amp;quot;H&amp;quot;,   &amp;quot;Hydrogen&amp;quot;,      &amp;quot;1.01&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;alkali&amp;quot;},&lt;br /&gt;
{&amp;quot;He&amp;quot;,  &amp;quot;Helium&amp;quot;,        &amp;quot;4.00&amp;quot;  ,&amp;quot;gas&amp;quot;, &amp;quot;noblegas&amp;quot;},&lt;br /&gt;
...&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, the code is written in a way that allows to easily switch between color and black/white versions of the table via a simple integer variable ''incolor'', which triggers different color definitions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% periodic table entries:&lt;br /&gt;
require(&amp;quot;ptdata.sl&amp;quot;);&lt;br /&gt;
%-&amp;gt; variable elements&lt;br /&gt;
&lt;br /&gt;
variable incolor = 1;&lt;br /&gt;
if(incolor){&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.4  , 0.4  , 0.4   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(0.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 0.5  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(0.  , .4  , 0.8   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(0.  , 0.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(0.75  , 0.75  , .75   ) );&lt;br /&gt;
}else{&lt;br /&gt;
   xfig_new_color(&amp;quot;solid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;liquid&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;gas&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;synthetic&amp;quot; , rgb2hex(0.  , 0.  , 0.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkali&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;alkaline&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;transmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;metal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;nonmetal&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;noblegas&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
   xfig_new_color(&amp;quot;unknown&amp;quot; , rgb2hex(1.  , 1.  , 1.   ) );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% a map for the positions of the individual elements (Z) in the periodic table&lt;br /&gt;
variable rows = {&lt;br /&gt;
   [1,0*ones(17),2],&lt;br /&gt;
   [3,4,0*ones(11),[5:10]],&lt;br /&gt;
   [11,12,0*ones(11),[13:18]],&lt;br /&gt;
   [19,20,0,[21:36]],&lt;br /&gt;
   [37,38,0,[39:54]],&lt;br /&gt;
   [55,56,0,[71:86]],&lt;br /&gt;
   [87,88,0,[103:118]],&lt;br /&gt;
   [57:70],&lt;br /&gt;
   [89:102]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
% the dimensions for the cells of the table&lt;br /&gt;
variable wcell = 2.15;&lt;br /&gt;
variable hcell = 2.5;&lt;br /&gt;
&lt;br /&gt;
define cell(Z){&lt;br /&gt;
   variable xc = xfig_plot_new(wcell,hcell);&lt;br /&gt;
   xc.world(0,wcell,0,hcell);&lt;br /&gt;
   xc.axes(;off);&lt;br /&gt;
   xc.plot([0,0,wcell,wcell,0],[0,hcell,hcell,0,0];depth=15);&lt;br /&gt;
   variable bg = xfig_new_polyline([0,0,wcell,wcell],[0,hcell,hcell,0];&lt;br /&gt;
			  closed,areafill=30,fillcolor=elements[Z][4],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
   xc.add_object(bg,0,0,-0.5,-0.5;depth=50);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.1*hcell, sprintf(&amp;quot;\usefont{T1}{arial}{b}{n}\scriptsize %s&amp;quot;R,elements[Z][1]),0,0;depth=10);&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.58*hcell, elements[Z][0] ,0,0; size=&amp;quot;\Large&amp;quot;R, color=elements[Z][3],depth=10);&lt;br /&gt;
   if(Z==0){ &lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;Z&amp;quot; ,-0.5,0 ;depth=10);&lt;br /&gt;
   }else{&lt;br /&gt;
      xc.xylabel(0.05*wcell,0.87*hcell, &amp;quot;$Z&amp;quot;$ ,-0.5,0 ;depth=10);&lt;br /&gt;
   }&lt;br /&gt;
   xc.xylabel(0.5*wcell,0.31*hcell, elements[Z][2] ,0,0 ;depth=10);&lt;br /&gt;
   return xc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable pl = xfig_plot_new(19*wcell,10*hcell);&lt;br /&gt;
pl.world(1,19*wcell,10*hcell,1);&lt;br /&gt;
pl.axes(;off);&lt;br /&gt;
&lt;br /&gt;
variable ii, rr,cc;&lt;br /&gt;
_for ii(1,7,1){&lt;br /&gt;
   cc=1;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      if(rr==0){ cc++; continue; }&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, ii*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_for ii(8,9,1){&lt;br /&gt;
   cc=4;&lt;br /&gt;
   foreach rr (rows[ii-1]){&lt;br /&gt;
      pl.add_object(cell(rr), cc*wcell, (ii+1)*hcell, -0.5,-0.5);&lt;br /&gt;
      cc++;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.5*wcell,5.5*hcell,&amp;quot;57--70&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,5.7*hcell,&amp;quot;\large *&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.5*hcell,&amp;quot;89--102&amp;quot;R,0,0);&lt;br /&gt;
pl.xylabel(3.5*wcell,6.7*hcell,&amp;quot;\large **&amp;quot;R,0,0);&lt;br /&gt;
&lt;br /&gt;
pl.xylabel(3.8*wcell,8.5*hcell,&amp;quot;{\large *}\,Lanthanoids&amp;quot;R,0.5,0);&lt;br /&gt;
pl.xylabel(3.8*wcell,9.5*hcell,&amp;quot;{\large **}\,Actinoids&amp;quot;R,0.5,0);&lt;br /&gt;
&lt;br /&gt;
% cell description:&lt;br /&gt;
variable sc = 1.2;&lt;br /&gt;
wcell *=sc; hcell *=sc;&lt;br /&gt;
pl.add_object(cell(0),5.4*wcell/sc,2.1*hcell/sc,-0.5,-0.5);&lt;br /&gt;
wcell /=sc; hcell /=sc;&lt;br /&gt;
&lt;br /&gt;
if(incolor){&lt;br /&gt;
   pl.xylabel((5.35+sc)*wcell,1.4*hcell, &amp;quot;\Huge\{&amp;quot;R,-0.5,0);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.125*hcell, &amp;quot;solid&amp;quot;, -0.5,0;color=&amp;quot;solid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.325*hcell, &amp;quot;liquid&amp;quot;, -0.5,0;color=&amp;quot;liquid&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.525*hcell, &amp;quot;gas&amp;quot;, -0.5,0;color=&amp;quot;gas&amp;quot;);&lt;br /&gt;
   pl.xylabel((5.65+sc)*wcell,1.65*hcell, &amp;quot;synthetic&amp;quot;, -0.5,0;color=&amp;quot;synthetic&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
   variable desc = [&amp;quot;alkali metals&amp;quot;, &amp;quot;alkaline earth metals&amp;quot;, &amp;quot;transitional metals&amp;quot;,&lt;br /&gt;
		    &amp;quot;other metals&amp;quot;, &amp;quot;nonmetals&amp;quot;, &amp;quot;noble gases&amp;quot;, &amp;quot;unknown group&amp;quot;];&lt;br /&gt;
   variable cl = [&amp;quot;alkali&amp;quot;,&amp;quot;alkaline&amp;quot;,&amp;quot;transmetal&amp;quot;,&amp;quot;metal&amp;quot;,&amp;quot;nonmetal&amp;quot;,&lt;br /&gt;
		  &amp;quot;noblegas&amp;quot;,&amp;quot;unknown&amp;quot;];&lt;br /&gt;
   variable bx;&lt;br /&gt;
   &lt;br /&gt;
   _for ii(0,6,1){&lt;br /&gt;
      bx = xfig_new_polyline([0,0,wcell/2.,wcell/2.],[0,hcell/4.,hcell/4.,0];&lt;br /&gt;
		    closed,areafill=30,fillcolor=cl[ii],color=&amp;quot;white&amp;quot;);&lt;br /&gt;
      pl.add_object(bx,9.75*wcell,(0.75+ii*0.26)*hcell,0.5,0;depth=50);&lt;br /&gt;
      pl.xylabel(9.85*wcell,(0.75+ii*0.26)*hcell,desc[ii],-0.5,0);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pl.render(&amp;quot;pt.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plotting_Model_Components_(xfig_example)&amp;diff=1074</id>
		<title>Plotting Model Components (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plotting_Model_Components_(xfig_example)&amp;diff=1074"/>
		<updated>2018-04-13T16:01:28Z</updated>

		<summary type="html">&lt;p&gt;Falkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
====== Plotting Model Components ======&lt;br /&gt;
&lt;br /&gt;
Even in ISIS, plotting individual model components is somewhat tricky. Once upon a time, there was a useful description to be found [[http://www.black-hole.eu/media/summerschool2/X-ray_Spectra_Part_II.pdf|here]] on pp. 39-43. Unfortunately, since then, the fancy plot commands changed but not the presentation. I will try here to give you a short overview of how to do this at the moment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The plot in ISIS =====&lt;br /&gt;
&lt;br /&gt;
=== Loading the data ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
load_data(&amp;quot;ridge_epoch_4_2.pha&amp;quot;);                                     % load your spectra&lt;br /&gt;
flux_corr(1);                                                         % the usual setup things&lt;br /&gt;
group(1; min_sn=5, min_chan=1, bounds=3, unit=&amp;quot;keV&amp;quot;);&lt;br /&gt;
ignore_en(1, ,3);&lt;br /&gt;
ignore_en(1,20, );&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Starting the plot ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
open_plot;                                                            % open a plot window...&lt;br /&gt;
multiplot([5,2]);                                                     % ...to get the two panels for spectrum and residuals&lt;br /&gt;
mpane(1);                                                             % start plotting in the upper panel&lt;br /&gt;
xlog; ylog;                                                           % if that's the usual way you want to have your spectra&lt;br /&gt;
&lt;br /&gt;
load_par(&amp;quot;2011-03-09_15:00:21_best.par&amp;quot;);                             % load the best-fit parameters for the whole model&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
&lt;br /&gt;
plot_data(1; dsym=-4, dcol=1, decol=1, mcol=15, xrange={2.9,20.5}, yrange={0.005,1.5}, no_reset=1);&lt;br /&gt;
                                                                      % the command to plot your spectrum. note that the&lt;br /&gt;
                                                                      % &amp;quot;no_reset&amp;quot; command now has to be used as a qualifier,&lt;br /&gt;
                                                                      % different from Mike's presentation. also, the commands&lt;br /&gt;
                                                                      % for setting the ranges have changed (from &amp;quot;xrng&amp;quot; to &amp;quot;xrange&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
write_plot(&amp;quot;write_data_allin&amp;quot;);                                       % dump the spectrum and model into an ASCII file. for a data&lt;br /&gt;
                                                                      % plot it will end in .dat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now a single component of the model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ff = get_fit_fun();                                                   % save the complete model&lt;br /&gt;
                                                                      &lt;br /&gt;
fit_fun(&amp;quot;gauss(1)&amp;quot;);                                                  % now only the component you are interested in&lt;br /&gt;
                                                                      % **ATTENTION**: next time, reload the best-fit parameters before&lt;br /&gt;
                                                                      % adding another model component: &amp;quot;fit_fun(ff)&amp;quot;!!!&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model (= the single component)&lt;br /&gt;
plot_data(1; dsym=-4, dcol=1, decol=1, mcol=4, oplt=1, no_reset=1);   % plot the component in a different color&lt;br /&gt;
write_plot(&amp;quot;write_data_gauss&amp;quot;);                                       % again, dump the plot into another ASCII file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course the colors are unimportant for the moment, as you will have to do them again when doing the plot in xfig, but now the example is complete if you don't have the time for xfig and just want a quick way to plot.&lt;br /&gt;
&lt;br /&gt;
=== The second panel ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mpane(2);                                                             % move to the lower panel&lt;br /&gt;
ylin;                                                                 % for residuals, a linear y scale&lt;br /&gt;
&lt;br /&gt;
load_par(&amp;quot;2011-03-09_15:00:21_best.par&amp;quot;);                             % again, reload the best-fit parameters&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
&lt;br /&gt;
plot_residuals(1; res=1, rsym=0, rcol=15, recol=1, xrange={2.9,20.5}, yrange={-3,20}, no_reset=1);&lt;br /&gt;
                                                                      % plot only the residuals. qualifier are the&lt;br /&gt;
                                                                      % same as for &amp;quot;plot_data&amp;quot;&lt;br /&gt;
write_plot(&amp;quot;write_res_allin&amp;quot;);                                        % dump the plot into an ASCII file. for residual plots&lt;br /&gt;
                                                                      % it will end in .res&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the residuals you get when the component is missing in the model (in this case: an iron line complex consisting of three gaussian lines):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set_par([5,8,11],0);                                                  % set the norm of your component to zero&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
plot_residuals(1; res=1, rsym=0, rcol=4, recol=1, oplt=1, no_reset=1);&lt;br /&gt;
                                                                      % plot the residuals&lt;br /&gt;
write_plot(&amp;quot;write_res_gauss.dat&amp;quot;);                                    % dump the plot into an ASCII file&lt;br /&gt;
close_plot;                                                           % close the plot window when finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have all the files you need to make a nice xfig plot.&lt;br /&gt;
&lt;br /&gt;
===== Reading and plotting the data with xfig =====&lt;br /&gt;
&lt;br /&gt;
=== Initializing the plot ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;xfig&amp;quot;);                                                      % you need this to do the nice plots&lt;br /&gt;
&lt;br /&gt;
variable p = Struct_Type[2];                                          % this way, you can do a multiplot&lt;br /&gt;
p[0] = xfig_plot_new(12.6,6.4);                                       % the size of the upper panel&lt;br /&gt;
p[1] = xfig_plot_new(12.6,2.6);                                       % size of the lower panel. proportions are the same as in ISIS plots.&lt;br /&gt;
&lt;br /&gt;
p[0].world (2.9,20.5,0.005,1.5; xlog=1, ylog=1);                      % ranges and scales of the upper panel&lt;br /&gt;
p[0].x1axis(;ticlabels=0);                                            % no ticlabels between the two panels&lt;br /&gt;
p[0].y2axis(;ticlabels=0);                                            % no ticlabels at the right side of the plot&lt;br /&gt;
p[0].ylabel(&amp;quot;Counts/s/keV&amp;quot;);                                          % ylabel of the upper panel&lt;br /&gt;
&lt;br /&gt;
p[1].world (2.9,20.5,-5,41; xlog=1);                                  % ranges and scales of the lower panel&lt;br /&gt;
p[1].ylabel(`$\chi$`);                                                % ylabel of the lower panel&lt;br /&gt;
p[1].xlabel(&amp;quot;Energy [keV]&amp;quot;);                                          % xlabel of the whole plot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Read and plot the ASCII files: upper panel ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable lo, hi, y, e, m;                                             % five variables for the five columns of the .dat file&lt;br /&gt;
(lo, hi, y, e, m) = readcol (&amp;quot;write_data_allin_0.dat&amp;quot;,1,2,3,4,5);     % read all five columns: bin_lo, bin_hi, value, error, model&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the upper limit of the last bin to the lower limits of the bins&lt;br /&gt;
variable x = (lo+hi)/2;                                               % an array with the central points of each bin&lt;br /&gt;
&lt;br /&gt;
p[0].hplot (h,m; color=&amp;quot;blue4&amp;quot;);                                      % make a histogram plot of the model&lt;br /&gt;
                                                                      % see &amp;quot;p[0].hplot(;help)&amp;quot; for help: &lt;br /&gt;
                                                                      % if length(h)=length(m)+1, the last element is taken as the upper&lt;br /&gt;
                                                                      % limit of the last bin. if both arguments have the same length,&lt;br /&gt;
                                                                      % the last bin will have the same size as the one before.&lt;br /&gt;
                                                                      % **ATTENTION** at the moment, hplot can only plot a histogram with&lt;br /&gt;
                                                                      % errorbars when all arrays have the same length!!!&lt;br /&gt;
                                                                      &lt;br /&gt;
p[0].plot (x,y,e; sym=&amp;quot;point&amp;quot;);                                       % a normal plot to get data points and errorbars&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
now the model component:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable lo, hi, y, e, m;                                             % clear the variables the previous variables&lt;br /&gt;
(lo, hi, y, e, m) = readcol (&amp;quot;write_data_gauss_0.dat&amp;quot;,1,2,3,4,5);     % read the ASCII file with the component&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
&lt;br /&gt;
p[0].hplot (h,m; color=&amp;quot;green4&amp;quot;);                                     % plot a histogram of the model component&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Read and plot the ASCII files: lower panel ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable lo, hi, y, el, eu;                                           % five variables for the columns of the .res file&lt;br /&gt;
(lo, hi, y, el, eu) = readcol (&amp;quot;write_res_allin_0.res&amp;quot;,1,2,3,4,5);    % read all five columns: bin_lo, bin_hi, value, err_lo, err_hi&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
variable x = (lo+hi)/2;                                               % the center of each bin&lt;br /&gt;
&lt;br /&gt;
p[1].hplot (h,y; color=&amp;quot;blue4&amp;quot;);                                      % plot the residuals histogram of the whole model&lt;br /&gt;
&lt;br /&gt;
p[1].plot (x,y, ,{y-el,eu-y}; sym=&amp;quot;point&amp;quot;, color=&amp;quot;blue4&amp;quot;, size=-1, eb_factor=0);&lt;br /&gt;
                                                                      % optional: add the errorbars, if you did the plot with an&lt;br /&gt;
                                                                      % individually sized last bin (i.e., added the last bin_hi, see above)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now the residuals without the component:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable lo, hi, y, el, eu;                                           % clear the variables&lt;br /&gt;
(lo, hi, y, el, eu) = readcol (&amp;quot;write_res_gauss_0.res&amp;quot;,1,2,3,4,5);    % read the .res file&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
variable x = (lo+hi)/2;                                               % center of each bin&lt;br /&gt;
&lt;br /&gt;
p[1].hplot (h,y; color=&amp;quot;green4&amp;quot;);                                     % plot the residuals histogram without the component\&lt;br /&gt;
&lt;br /&gt;
p[1].plot (x,y, ,{y-el,eu-y}; sym=&amp;quot;point&amp;quot;, color=&amp;quot;green4&amp;quot;, size=-1, eb_factor=0);&lt;br /&gt;
                                                                      % optional: add the errorbars&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Render the plot ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xfig_multiplot (p).render (&amp;quot;plot_components.png&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The Result =====&lt;br /&gt;
[[File:plot_individual_components.png]]&lt;br /&gt;
&lt;br /&gt;
To remove the annoying vertical lines at the first and last bin of the histogram, you can use the (undocumented) qualifiers ''y_last'' and ''y_first'' of ''hplot''. If you set them to the value of the first or the last bin respectively, the vertical lines vanish:&lt;br /&gt;
  p[0].hplot (h,m; color=&amp;quot;blue4&amp;quot;, y_first=m[0], y_last=m[-1]);&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plotting_Model_Components_(xfig_example)&amp;diff=1073</id>
		<title>Plotting Model Components (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plotting_Model_Components_(xfig_example)&amp;diff=1073"/>
		<updated>2018-04-13T15:58:43Z</updated>

		<summary type="html">&lt;p&gt;Falkner: /* The Result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
====== Plotting Model Components ======&lt;br /&gt;
&lt;br /&gt;
Even in ISIS, plotting individual model components is somewhat tricky. Once upon a time, there was a useful description to be found [[http://www.black-hole.eu/media/summerschool2/X-ray_Spectra_Part_II.pdf|here]] on pp. 39-43. Unfortunately, since then, the fancy plot commands changed but not the presentation. I will try here to give you a short overview of how to do this at the moment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The plot in ISIS =====&lt;br /&gt;
&lt;br /&gt;
=== Loading the data ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
load_data(&amp;quot;ridge_epoch_4_2.pha&amp;quot;);                                     % load your spectra&lt;br /&gt;
flux_corr(1);                                                         % the usual setup things&lt;br /&gt;
group(1; min_sn=5, min_chan=1, bounds=3, unit=&amp;quot;keV&amp;quot;);&lt;br /&gt;
ignore_en(1, ,3);&lt;br /&gt;
ignore_en(1,20, );&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Starting the plot ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
open_plot;                                                            % open a plot window...&lt;br /&gt;
multiplot([5,2]);                                                     % ...to get the two panels for spectrum and residuals&lt;br /&gt;
mpane(1);                                                             % start plotting in the upper panel&lt;br /&gt;
xlog; ylog;                                                           % if that's the usual way you want to have your spectra&lt;br /&gt;
&lt;br /&gt;
load_par(&amp;quot;2011-03-09_15:00:21_best.par&amp;quot;);                             % load the best-fit parameters for the whole model&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
&lt;br /&gt;
plot_data(1; dsym=-4, dcol=1, decol=1, mcol=15, xrange={2.9,20.5}, yrange={0.005,1.5}, no_reset=1);&lt;br /&gt;
                                                                      % the command to plot your spectrum. note that the&lt;br /&gt;
                                                                      % &amp;quot;no_reset&amp;quot; command now has to be used as a qualifier,&lt;br /&gt;
                                                                      % different from Mike's presentation. also, the commands&lt;br /&gt;
                                                                      % for setting the ranges have changed (from &amp;quot;xrng&amp;quot; to &amp;quot;xrange&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
write_plot(&amp;quot;write_data_allin&amp;quot;);                                       % dump the spectrum and model into an ASCII file. for a data&lt;br /&gt;
                                                                      % plot it will end in .dat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now a single component of the model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
ff = get_fit_fun();                                                   % save the complete model&lt;br /&gt;
                                                                      &lt;br /&gt;
fit_fun(&amp;quot;gauss(1)&amp;quot;);                                                  % now only the component you are interested in&lt;br /&gt;
                                                                      % **ATTENTION**: next time, reload the best-fit parameters before&lt;br /&gt;
                                                                      % adding another model component: &amp;quot;fit_fun(ff)&amp;quot;!!!&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model (= the single component)&lt;br /&gt;
plot_data(1; dsym=-4, dcol=1, decol=1, mcol=4, oplt=1, no_reset=1);   % plot the component in a different color&lt;br /&gt;
write_plot(&amp;quot;write_data_gauss&amp;quot;);                                       % again, dump the plot into another ASCII file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course the colors are unimportant for the moment, as you will have to do them again when doing the plot in xfig, but now the example is complete if you don't have the time for xfig and just want a quick way to plot.&lt;br /&gt;
&lt;br /&gt;
=== The second panel ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
mpane(2);                                                             % move to the lower panel&lt;br /&gt;
ylin;                                                                 % for residuals, a linear y scale&lt;br /&gt;
&lt;br /&gt;
load_par(&amp;quot;2011-03-09_15:00:21_best.par&amp;quot;);                             % again, reload the best-fit parameters&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
&lt;br /&gt;
plot_residuals(1; res=1, rsym=0, rcol=15, recol=1, xrange={2.9,20.5}, yrange={-3,20}, no_reset=1);&lt;br /&gt;
                                                                      % plot only the residuals. qualifier are the&lt;br /&gt;
                                                                      % same as for &amp;quot;plot_data&amp;quot;&lt;br /&gt;
write_plot(&amp;quot;write_res_allin&amp;quot;);                                        % dump the plot into an ASCII file. for residual plots&lt;br /&gt;
                                                                      % it will end in .res&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the residuals you get when the component is missing in the model (in this case: an iron line complex consisting of three gaussian lines):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
set_par([5,8,11],0);                                                  % set the norm of your component to zero&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
plot_residuals(1; res=1, rsym=0, rcol=4, recol=1, oplt=1, no_reset=1);&lt;br /&gt;
                                                                      % plot the residuals&lt;br /&gt;
write_plot(&amp;quot;write_res_gauss.dat&amp;quot;);                                    % dump the plot into an ASCII file&lt;br /&gt;
close_plot;                                                           % close the plot window when finished&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have all the files you need to make a nice xfig plot.&lt;br /&gt;
&lt;br /&gt;
===== Reading and plotting the data with xfig =====&lt;br /&gt;
&lt;br /&gt;
=== Initializing the plot ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
require(&amp;quot;xfig&amp;quot;);                                                      % you need this to do the nice plots&lt;br /&gt;
&lt;br /&gt;
variable p = Struct_Type[2];                                          % this way, you can do a multiplot&lt;br /&gt;
p[0] = xfig_plot_new(12.6,6.4);                                       % the size of the upper panel&lt;br /&gt;
p[1] = xfig_plot_new(12.6,2.6);                                       % size of the lower panel. proportions are the same as in ISIS plots.&lt;br /&gt;
&lt;br /&gt;
p[0].world (2.9,20.5,0.005,1.5; xlog=1, ylog=1);                      % ranges and scales of the upper panel&lt;br /&gt;
p[0].x1axis(;ticlabels=0);                                            % no ticlabels between the two panels&lt;br /&gt;
p[0].y2axis(;ticlabels=0);                                            % no ticlabels at the right side of the plot&lt;br /&gt;
p[0].ylabel(&amp;quot;Counts/s/keV&amp;quot;);                                          % ylabel of the upper panel&lt;br /&gt;
&lt;br /&gt;
p[1].world (2.9,20.5,-5,41; xlog=1);                                  % ranges and scales of the lower panel&lt;br /&gt;
p[1].ylabel(`$\chi$`);                                                % ylabel of the lower panel&lt;br /&gt;
p[1].xlabel(&amp;quot;Energy [keV]&amp;quot;);                                          % xlabel of the whole plot&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Read and plot the ASCII files: upper panel ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, e, m;                                             % five variables for the five columns of the .dat file&lt;br /&gt;
(lo, hi, y, e, m) = readcol (&amp;quot;write_data_allin_0.dat&amp;quot;,1,2,3,4,5);     % read all five columns: bin_lo, bin_hi, value, error, model&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the upper limit of the last bin to the lower limits of the bins&lt;br /&gt;
variable x = (lo+hi)/2;                                               % an array with the central points of each bin&lt;br /&gt;
&lt;br /&gt;
p[0].hplot (h,m; color=&amp;quot;blue4&amp;quot;);                                      % make a histogram plot of the model&lt;br /&gt;
                                                                      % see &amp;quot;p[0].hplot(;help)&amp;quot; for help: &lt;br /&gt;
                                                                      % if length(h)=length(m)+1, the last element is taken as the upper&lt;br /&gt;
                                                                      % limit of the last bin. if both arguments have the same length,&lt;br /&gt;
                                                                      % the last bin will have the same size as the one before.&lt;br /&gt;
                                                                      % **ATTENTION** at the moment, hplot can only plot a histogram with&lt;br /&gt;
                                                                      % errorbars when all arrays have the same length!!!&lt;br /&gt;
                                                                      &lt;br /&gt;
p[0].plot (x,y,e; sym=&amp;quot;point&amp;quot;);                                       % a normal plot to get data points and errorbars&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
now the model component:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, e, m;                                             % clear the variables the previous variables&lt;br /&gt;
(lo, hi, y, e, m) = readcol (&amp;quot;write_data_gauss_0.dat&amp;quot;,1,2,3,4,5);     % read the ASCII file with the component&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
&lt;br /&gt;
p[0].hplot (h,m; color=&amp;quot;green4&amp;quot;);                                     % plot a histogram of the model component&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Read and plot the ASCII files: lower panel ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, el, eu;                                           % five variables for the columns of the .res file&lt;br /&gt;
(lo, hi, y, el, eu) = readcol (&amp;quot;write_res_allin_0.res&amp;quot;,1,2,3,4,5);    % read all five columns: bin_lo, bin_hi, value, err_lo, err_hi&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
variable x = (lo+hi)/2;                                               % the center of each bin&lt;br /&gt;
&lt;br /&gt;
p[1].hplot (h,y; color=&amp;quot;blue4&amp;quot;);                                      % plot the residuals histogram of the whole model&lt;br /&gt;
&lt;br /&gt;
p[1].plot (x,y, ,{y-el,eu-y}; sym=&amp;quot;point&amp;quot;, color=&amp;quot;blue4&amp;quot;, size=-1, eb_factor=0);&lt;br /&gt;
                                                                      % optional: add the errorbars, if you did the plot with an&lt;br /&gt;
                                                                      % individually sized last bin (i.e., added the last bin_hi, see above)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now the residuals without the component:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, el, eu;                                           % clear the variables&lt;br /&gt;
(lo, hi, y, el, eu) = readcol (&amp;quot;write_res_gauss_0.res&amp;quot;,1,2,3,4,5);    % read the .res file&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
variable x = (lo+hi)/2;                                               % center of each bin&lt;br /&gt;
&lt;br /&gt;
p[1].hplot (h,y; color=&amp;quot;green4&amp;quot;);                                     % plot the residuals histogram without the component\&lt;br /&gt;
&lt;br /&gt;
p[1].plot (x,y, ,{y-el,eu-y}; sym=&amp;quot;point&amp;quot;, color=&amp;quot;green4&amp;quot;, size=-1, eb_factor=0);&lt;br /&gt;
                                                                      % optional: add the errorbars&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Render the plot ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
xfig_multiplot (p).render (&amp;quot;plot_components.png&amp;quot;);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The Result =====&lt;br /&gt;
[[File:plot_individual_components.png]]&lt;br /&gt;
&lt;br /&gt;
To remove the annoying vertical lines at the first and last bin of the histogram, you can use the (undocumented) qualifiers ''y_last'' and ''y_first'' of ''hplot''. If you set them to the value of the first or the last bin respectively, the vertical lines vanish:&lt;br /&gt;
  p[0].hplot (h,m; color=&amp;quot;blue4&amp;quot;, y_first=m[0], y_last=m[-1]);&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plotting_Model_Components_(xfig_example)&amp;diff=1071</id>
		<title>Plotting Model Components (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plotting_Model_Components_(xfig_example)&amp;diff=1071"/>
		<updated>2018-04-13T15:57:38Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:SLxfig  ====== Plotting Model Components ======  Even in ISIS, plotting individual model components is somewhat tricky. Once upon a time, there was a useful des...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
====== Plotting Model Components ======&lt;br /&gt;
&lt;br /&gt;
Even in ISIS, plotting individual model components is somewhat tricky. Once upon a time, there was a useful description to be found [[http://www.black-hole.eu/media/summerschool2/X-ray_Spectra_Part_II.pdf|here]] on pp. 39-43. Unfortunately, since then, the fancy plot commands changed but not the presentation. I will try here to give you a short overview of how to do this at the moment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The plot in ISIS =====&lt;br /&gt;
&lt;br /&gt;
=== Loading the data ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
load_data(&amp;quot;ridge_epoch_4_2.pha&amp;quot;);                                     % load your spectra&lt;br /&gt;
flux_corr(1);                                                         % the usual setup things&lt;br /&gt;
group(1; min_sn=5, min_chan=1, bounds=3, unit=&amp;quot;keV&amp;quot;);&lt;br /&gt;
ignore_en(1, ,3);&lt;br /&gt;
ignore_en(1,20, );&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Starting the plot ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
open_plot;                                                            % open a plot window...&lt;br /&gt;
multiplot([5,2]);                                                     % ...to get the two panels for spectrum and residuals&lt;br /&gt;
mpane(1);                                                             % start plotting in the upper panel&lt;br /&gt;
xlog; ylog;                                                           % if that's the usual way you want to have your spectra&lt;br /&gt;
&lt;br /&gt;
load_par(&amp;quot;2011-03-09_15:00:21_best.par&amp;quot;);                             % load the best-fit parameters for the whole model&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
&lt;br /&gt;
plot_data(1; dsym=-4, dcol=1, decol=1, mcol=15, xrange={2.9,20.5}, yrange={0.005,1.5}, no_reset=1);&lt;br /&gt;
                                                                      % the command to plot your spectrum. note that the&lt;br /&gt;
                                                                      % &amp;quot;no_reset&amp;quot; command now has to be used as a qualifier,&lt;br /&gt;
                                                                      % different from Mike's presentation. also, the commands&lt;br /&gt;
                                                                      % for setting the ranges have changed (from &amp;quot;xrng&amp;quot; to &amp;quot;xrange&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
write_plot(&amp;quot;write_data_allin&amp;quot;);                                       % dump the spectrum and model into an ASCII file. for a data&lt;br /&gt;
                                                                      % plot it will end in .dat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now a single component of the model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
ff = get_fit_fun();                                                   % save the complete model&lt;br /&gt;
                                                                      &lt;br /&gt;
fit_fun(&amp;quot;gauss(1)&amp;quot;);                                                  % now only the component you are interested in&lt;br /&gt;
                                                                      % **ATTENTION**: next time, reload the best-fit parameters before&lt;br /&gt;
                                                                      % adding another model component: &amp;quot;fit_fun(ff)&amp;quot;!!!&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model (= the single component)&lt;br /&gt;
plot_data(1; dsym=-4, dcol=1, decol=1, mcol=4, oplt=1, no_reset=1);   % plot the component in a different color&lt;br /&gt;
write_plot(&amp;quot;write_data_gauss&amp;quot;);                                       % again, dump the plot into another ASCII file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course the colors are unimportant for the moment, as you will have to do them again when doing the plot in xfig, but now the example is complete if you don't have the time for xfig and just want a quick way to plot.&lt;br /&gt;
&lt;br /&gt;
=== The second panel ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
mpane(2);                                                             % move to the lower panel&lt;br /&gt;
ylin;                                                                 % for residuals, a linear y scale&lt;br /&gt;
&lt;br /&gt;
load_par(&amp;quot;2011-03-09_15:00:21_best.par&amp;quot;);                             % again, reload the best-fit parameters&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
&lt;br /&gt;
plot_residuals(1; res=1, rsym=0, rcol=15, recol=1, xrange={2.9,20.5}, yrange={-3,20}, no_reset=1);&lt;br /&gt;
                                                                      % plot only the residuals. qualifier are the&lt;br /&gt;
                                                                      % same as for &amp;quot;plot_data&amp;quot;&lt;br /&gt;
write_plot(&amp;quot;write_res_allin&amp;quot;);                                        % dump the plot into an ASCII file. for residual plots&lt;br /&gt;
                                                                      % it will end in .res&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the residuals you get when the component is missing in the model (in this case: an iron line complex consisting of three gaussian lines):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
set_par([5,8,11],0);                                                  % set the norm of your component to zero&lt;br /&gt;
() = eval_counts;                                                     % evaluate the model&lt;br /&gt;
plot_residuals(1; res=1, rsym=0, rcol=4, recol=1, oplt=1, no_reset=1);&lt;br /&gt;
                                                                      % plot the residuals&lt;br /&gt;
write_plot(&amp;quot;write_res_gauss.dat&amp;quot;);                                    % dump the plot into an ASCII file&lt;br /&gt;
close_plot;                                                           % close the plot window when finished&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have all the files you need to make a nice xfig plot.&lt;br /&gt;
&lt;br /&gt;
===== Reading and plotting the data with xfig =====&lt;br /&gt;
&lt;br /&gt;
=== Initializing the plot ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
require(&amp;quot;xfig&amp;quot;);                                                      % you need this to do the nice plots&lt;br /&gt;
&lt;br /&gt;
variable p = Struct_Type[2];                                          % this way, you can do a multiplot&lt;br /&gt;
p[0] = xfig_plot_new(12.6,6.4);                                       % the size of the upper panel&lt;br /&gt;
p[1] = xfig_plot_new(12.6,2.6);                                       % size of the lower panel. proportions are the same as in ISIS plots.&lt;br /&gt;
&lt;br /&gt;
p[0].world (2.9,20.5,0.005,1.5; xlog=1, ylog=1);                      % ranges and scales of the upper panel&lt;br /&gt;
p[0].x1axis(;ticlabels=0);                                            % no ticlabels between the two panels&lt;br /&gt;
p[0].y2axis(;ticlabels=0);                                            % no ticlabels at the right side of the plot&lt;br /&gt;
p[0].ylabel(&amp;quot;Counts/s/keV&amp;quot;);                                          % ylabel of the upper panel&lt;br /&gt;
&lt;br /&gt;
p[1].world (2.9,20.5,-5,41; xlog=1);                                  % ranges and scales of the lower panel&lt;br /&gt;
p[1].ylabel(`$\chi$`);                                                % ylabel of the lower panel&lt;br /&gt;
p[1].xlabel(&amp;quot;Energy [keV]&amp;quot;);                                          % xlabel of the whole plot&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Read and plot the ASCII files: upper panel ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, e, m;                                             % five variables for the five columns of the .dat file&lt;br /&gt;
(lo, hi, y, e, m) = readcol (&amp;quot;write_data_allin_0.dat&amp;quot;,1,2,3,4,5);     % read all five columns: bin_lo, bin_hi, value, error, model&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the upper limit of the last bin to the lower limits of the bins&lt;br /&gt;
variable x = (lo+hi)/2;                                               % an array with the central points of each bin&lt;br /&gt;
&lt;br /&gt;
p[0].hplot (h,m; color=&amp;quot;blue4&amp;quot;);                                      % make a histogram plot of the model&lt;br /&gt;
                                                                      % see &amp;quot;p[0].hplot(;help)&amp;quot; for help: &lt;br /&gt;
                                                                      % if length(h)=length(m)+1, the last element is taken as the upper&lt;br /&gt;
                                                                      % limit of the last bin. if both arguments have the same length,&lt;br /&gt;
                                                                      % the last bin will have the same size as the one before.&lt;br /&gt;
                                                                      % **ATTENTION** at the moment, hplot can only plot a histogram with&lt;br /&gt;
                                                                      % errorbars when all arrays have the same length!!!&lt;br /&gt;
                                                                      &lt;br /&gt;
p[0].plot (x,y,e; sym=&amp;quot;point&amp;quot;);                                       % a normal plot to get data points and errorbars&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
now the model component:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, e, m;                                             % clear the variables the previous variables&lt;br /&gt;
(lo, hi, y, e, m) = readcol (&amp;quot;write_data_gauss_0.dat&amp;quot;,1,2,3,4,5);     % read the ASCII file with the component&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
&lt;br /&gt;
p[0].hplot (h,m; color=&amp;quot;green4&amp;quot;);                                     % plot a histogram of the model component&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Read and plot the ASCII files: lower panel ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, el, eu;                                           % five variables for the columns of the .res file&lt;br /&gt;
(lo, hi, y, el, eu) = readcol (&amp;quot;write_res_allin_0.res&amp;quot;,1,2,3,4,5);    % read all five columns: bin_lo, bin_hi, value, err_lo, err_hi&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
variable x = (lo+hi)/2;                                               % the center of each bin&lt;br /&gt;
&lt;br /&gt;
p[1].hplot (h,y; color=&amp;quot;blue4&amp;quot;);                                      % plot the residuals histogram of the whole model&lt;br /&gt;
&lt;br /&gt;
p[1].plot (x,y, ,{y-el,eu-y}; sym=&amp;quot;point&amp;quot;, color=&amp;quot;blue4&amp;quot;, size=-1, eb_factor=0);&lt;br /&gt;
                                                                      % optional: add the errorbars, if you did the plot with an&lt;br /&gt;
                                                                      % individually sized last bin (i.e., added the last bin_hi, see above)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now the residuals without the component:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
variable lo, hi, y, el, eu;                                           % clear the variables&lt;br /&gt;
(lo, hi, y, el, eu) = readcol (&amp;quot;write_res_gauss_0.res&amp;quot;,1,2,3,4,5);    % read the .res file&lt;br /&gt;
variable h = [lo, hi[-1]];                                            % add the last bin_hi for histogram plotting&lt;br /&gt;
variable x = (lo+hi)/2;                                               % center of each bin&lt;br /&gt;
&lt;br /&gt;
p[1].hplot (h,y; color=&amp;quot;green4&amp;quot;);                                     % plot the residuals histogram without the component\&lt;br /&gt;
&lt;br /&gt;
p[1].plot (x,y, ,{y-el,eu-y}; sym=&amp;quot;point&amp;quot;, color=&amp;quot;green4&amp;quot;, size=-1, eb_factor=0);&lt;br /&gt;
                                                                      % optional: add the errorbars&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Render the plot ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
xfig_multiplot (p).render (&amp;quot;plot_components.png&amp;quot;);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The Result =====&lt;br /&gt;
{{:isis:slxfig:plot_individual_components.png|}}&lt;br /&gt;
&lt;br /&gt;
To remove the annoying vertical lines at the first and last bin of the histogram, you can use the (undocumented) qualifiers ''y_last'' and ''y_first'' of ''hplot''. If you set them to the value of the first or the last bin respectively, the vertical lines vanish:&lt;br /&gt;
  p[0].hplot (h,m; color=&amp;quot;blue4&amp;quot;, y_first=m[0], y_last=m[-1]);&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Minimalistic_SimFit_example&amp;diff=941</id>
		<title>Minimalistic SimFit example</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Minimalistic_SimFit_example&amp;diff=941"/>
		<updated>2018-04-12T14:38:04Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;=== Minimalistic SimFit example ===  The aim of this example is to demonstrate the functionality of the SimFit routines with a minimalistic Example.   &amp;lt;code&amp;gt; require(&amp;quot;isisscri...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Minimalistic SimFit example ===&lt;br /&gt;
&lt;br /&gt;
The aim of this example is to demonstrate the functionality of the SimFit routines with a minimalistic Example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% Define Data&lt;br /&gt;
Minimum_Stat_Err = 1e-20;&lt;br /&gt;
seed_random(1);&lt;br /&gt;
&lt;br /&gt;
variable N = 30;&lt;br /&gt;
variable bin_lo = [1:2:#N+1][[:-2]];&lt;br /&gt;
variable bin_hi = [1:2:#N+1][[1:]];&lt;br /&gt;
&lt;br /&gt;
variable data1 = struct{&lt;br /&gt;
  bin_lo = bin_lo,&lt;br /&gt;
  bin_hi = bin_hi,&lt;br /&gt;
  value  = (30+5*sin(2*PI*bin_lo) + grand(N)-0.5) * (bin_hi-bin_lo),&lt;br /&gt;
  err  = (9e-1*[1.:1.:#N]) * (bin_hi-bin_lo)&lt;br /&gt;
};&lt;br /&gt;
variable data2 = struct{&lt;br /&gt;
  bin_lo = bin_lo,&lt;br /&gt;
  bin_hi = bin_hi,&lt;br /&gt;
  value  = (35+10*sin(2*PI*bin_lo) + grand(N)-0.5) * (bin_hi-bin_lo),&lt;br /&gt;
  err    = (10e-1*[1.:1.:#N]) * (bin_hi-bin_lo)&lt;br /&gt;
};&lt;br /&gt;
variable data3 = struct{&lt;br /&gt;
  bin_lo = bin_lo,&lt;br /&gt;
  bin_hi = bin_hi,&lt;br /&gt;
  value  = (35+10*sin(2*PI*bin_lo) + grand(N)-0.5) * (bin_hi-bin_lo),&lt;br /&gt;
  err    = (10e-1*[1.:1.:#N]) * (bin_hi-bin_lo)&lt;br /&gt;
};&lt;br /&gt;
fancy_plot_unit(&amp;quot;A&amp;quot;); % Nur zum plotten, falls Daten kein Spektrum sind!&lt;br /&gt;
%&lt;br /&gt;
% Initialize sim fit&lt;br /&gt;
variable sfit = simultaneous_fit();&lt;br /&gt;
% Add data&lt;br /&gt;
() = sfit.add_data(data1);&lt;br /&gt;
() = sfit.add_data([data2,data3]);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
% Set fit function&lt;br /&gt;
sfit.fit_fun(&amp;quot;sinwave2(%)&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% Define global Parameter: Tie parameter sinwave2(%).c of all groups to&lt;br /&gt;
% that of group 1&lt;br /&gt;
sfit.set_global(&amp;quot;sinwave2(%).b&amp;quot;);&lt;br /&gt;
sfit.set_global(&amp;quot;sinwave2(%).c&amp;quot;);&lt;br /&gt;
sfit.set_par(&amp;quot;sinwave2(%).d&amp;quot;,1,0,0,1e6);&lt;br /&gt;
&lt;br /&gt;
% load Parameter:&lt;br /&gt;
variable file_org = &amp;quot;simpi&amp;quot;;&lt;br /&gt;
variable file_new = &amp;quot;simpi_new&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
variable file;&lt;br /&gt;
if( wherefirst(__argv == &amp;quot;org&amp;quot;) != NULL ){&lt;br /&gt;
  file = file_org;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
  file = file_new;&lt;br /&gt;
}&lt;br /&gt;
vmessage(&amp;quot;\n Loading %s.par &amp;amp; %s.model.&amp;quot;,file,file);&lt;br /&gt;
load_par(file+&amp;quot;.par&amp;quot;);&lt;br /&gt;
sfit.load_model(file+&amp;quot;.model&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
define save_newpar(){&lt;br /&gt;
  vmessage(&amp;quot;\n SAVING %s.par &amp;amp; %s.model.\n&amp;quot;,file_new,file_new);&lt;br /&gt;
  save_par(file_new+&amp;quot;.par&amp;quot;);&lt;br /&gt;
  %sfit.save_model(file_new+&amp;quot;.model&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
if( wherefirst(__argv == &amp;quot;run&amp;quot;) != NULL ){&lt;br /&gt;
  variable runjob = sfit.fit_pars_run_job(&amp;quot;simpi_0000.job&amp;quot;, [&amp;quot;simpi_0001.job&amp;quot;, &amp;quot;simpi_0002.job&amp;quot;],&lt;br /&gt;
                                          &amp;quot;simpi_fitpars/*.fits&amp;quot;, &amp;amp;save_newpar;&lt;br /&gt;
                                          agree,maxiter=3,wait=10);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
#PBS -S /bin/bash -V&lt;br /&gt;
#PBS -l nodes=2&lt;br /&gt;
#PBS -l arch=x86_64&lt;br /&gt;
#PBS -l walltime=00:01:00&lt;br /&gt;
#PBS -N simpi_fitpars_0000&lt;br /&gt;
#PBS -o /home/falkner/Public/simpi_fitpars/simpi_fitpars/simpi_fitpars_0000.out&lt;br /&gt;
#PBS -e /home/falkner/Public/simpi_fitpars/simpi_fitpars/simpi_fitpars_0000.err&lt;br /&gt;
&lt;br /&gt;
cd /home/falkner/Public/simpi_fitpars&lt;br /&gt;
COMMAND=&amp;quot;mpiexec isis-script simpi_fitpars.sl 0&amp;quot;&lt;br /&gt;
/usr/bin/nice -n +15 ${COMMAND}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
#PBS -S /bin/bash -V&lt;br /&gt;
#PBS -l nodes=2&lt;br /&gt;
#PBS -l arch=x86_64&lt;br /&gt;
#PBS -l walltime=00:01:00&lt;br /&gt;
#PBS -N simpi_fitpars_0001&lt;br /&gt;
#PBS -o /home/falkner/Public/simpi_fitpars/simpi_fitpars/simpi_fitpars_0001.out&lt;br /&gt;
#PBS -e /home/falkner/Public/simpi_fitpars/simpi_fitpars/simpi_fitpars_0001.err&lt;br /&gt;
&lt;br /&gt;
cd /home/falkner/Public/simpi_fitpars&lt;br /&gt;
COMMAND=&amp;quot;mpiexec isis-script simpi_fitpars.sl 1&amp;quot;&lt;br /&gt;
/usr/bin/nice -n +15 ${COMMAND}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
#PBS -S /bin/bash -V&lt;br /&gt;
#PBS -l nodes=2&lt;br /&gt;
#PBS -l arch=x86_64&lt;br /&gt;
#PBS -l walltime=00:01:00&lt;br /&gt;
#PBS -N simpi_fitpars_0002&lt;br /&gt;
#PBS -o /home/falkner/Public/simpi_fitpars/simpi_fitpars/simpi_fitpars_0002.out&lt;br /&gt;
#PBS -e /home/falkner/Public/simpi_fitpars/simpi_fitpars/simpi_fitpars_0002.err&lt;br /&gt;
&lt;br /&gt;
cd /home/falkner/Public/simpi_fitpars&lt;br /&gt;
COMMAND=&amp;quot;mpiexec isis-script simpi_fitpars.sl 2&amp;quot;&lt;br /&gt;
/usr/bin/nice -n +15 ${COMMAND}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
_traceback=1;&lt;br /&gt;
&lt;br /&gt;
% TIME LOG&lt;br /&gt;
tic;vmessage(&amp;quot;%s : Calling: '%s'&amp;quot;,time,strjoin(__argv,&amp;quot; &amp;quot;));&lt;br /&gt;
&lt;br /&gt;
%%% initialize the simultaneous fit, adding the %%%&lt;br /&gt;
%%% data and defining/loading the model here    %%%&lt;br /&gt;
&lt;br /&gt;
()=evalfile (&amp;quot;simpi.sl&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% get command line arguments (last argument has to be the group index!)&lt;br /&gt;
variable grp = atoi(__argv[-1]);&lt;br /&gt;
&lt;br /&gt;
%%% set the directory for the output fits-files here %%%&lt;br /&gt;
%%% make sure that this directory exists!            %%%&lt;br /&gt;
variable parpath = &amp;quot;/home/falkner/Public/simpi_fitpars/simpi_fitpars&amp;quot;;&lt;br /&gt;
% check on existence of parpath&lt;br /&gt;
if (access(parpath, F_OK) != 0) {&lt;br /&gt;
  vmessage(&amp;quot;error: directory %s does not exist, aborting...&amp;quot;, parpath);&lt;br /&gt;
  exit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% calculate uncertainties&lt;br /&gt;
%%% replace 'simfit' by the name of your simultaneous-fit-structure %%%&lt;br /&gt;
variable fpars = sfit.mpi_fit_pars( grp ;&lt;br /&gt;
                                    dir=parpath,&lt;br /&gt;
                                    basefilename = sprintf(&amp;quot;simpi_fitpars_%04d&amp;quot;, grp)&lt;br /&gt;
                                  );&lt;br /&gt;
&lt;br /&gt;
% TIME LOG&lt;br /&gt;
variable elaptime = toc;&lt;br /&gt;
vmessage(&amp;quot;%s : Finished '%s' after %d s &amp;lt; %d %s&amp;quot;,&lt;br /&gt;
time,strjoin(__argv,&amp;quot; &amp;quot;),nint(elaptime),time_array(elaptime)[-1]+1,&lt;br /&gt;
[&amp;quot;sec&amp;quot;,&amp;quot;min&amp;quot;,&amp;quot;h&amp;quot;,&amp;quot;d&amp;quot;,&amp;quot;y&amp;quot;][length(time_array(elaptime))-1]  );&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Simfit&amp;diff=939</id>
		<title>Simfit</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Simfit&amp;diff=939"/>
		<updated>2018-04-12T14:35:12Z</updated>

		<summary type="html">&lt;p&gt;Falkner: Created page with &amp;quot;  Category:Isis / Slang  ===== SimFit ===== Example: Minimalistic example&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;br /&gt;
&lt;br /&gt;
===== SimFit =====&lt;br /&gt;
[[isis:simfit:example|Example: Minimalistic example]]&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
</feed>