<?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=Niu</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=Niu"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php/Special:Contributions/Niu"/>
	<updated>2026-05-04T20:50:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=User:Niu&amp;diff=1744</id>
		<title>User:Niu</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=User:Niu&amp;diff=1744"/>
		<updated>2018-12-25T03:38:56Z</updated>

		<summary type="html">&lt;p&gt;Niu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello world!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{i=0}^\infty 2^{-i}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=User:Niu&amp;diff=1743</id>
		<title>User:Niu</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=User:Niu&amp;diff=1743"/>
		<updated>2018-12-25T03:38:41Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;Hello world!   &amp;lt;math&amp;gt;\sum_{i=0}^\infty 2^{-i}&amp;lt;/math&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello world!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{i=0}^\infty 2^{-i}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1432</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1432"/>
		<updated>2018-05-02T11:51:04Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* 3D Maser Disk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Remeis X-fig plot gallery =&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== Mike's Fancy Plots ===&lt;br /&gt;
[[File:fancy_plot.png|400px|link=Mike's fancy plots (xfig example)]] Plotting spectra in the way of Mike's fancy plots&lt;br /&gt;
&lt;br /&gt;
=== Plotting Model Components ===&lt;br /&gt;
[[File:plot_individual_components.png|400px|link=Plotting Model Components (xfig example)]] Plotting individual model components&lt;br /&gt;
&lt;br /&gt;
=== Color-coded maps with png and xfig ===&lt;br /&gt;
[[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|How to plot a color-coded map (landscape) using png and xfig]]&lt;br /&gt;
&lt;br /&gt;
=== Two-dimensional histograms ===&lt;br /&gt;
&lt;br /&gt;
[[File:banana-plot.png|400px|link=Two-dimensional_histograms_(xfig_example)]] banana-plot with coordinate system —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Compounds and multiplots ===&lt;br /&gt;
[[File:multiplot_and_plot.png|300px|link=compounds and multi-panel plots (xfig example)]] Compounds and multi-panel plots —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Chi-squared_parabola_(xfig_example)]] [[File:Chisqr_ellipse.png|200px|link=Chi-squared_contours_(xfig_example)]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Orbit_plot_of_GX_301-2_(xfig_example)]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Color_Landscapes_(xfig_example)]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|an example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Contour_Plot_(xfig_example)]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=2D_Map_SAA_(xfig_example)]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=Lightcurve_Cygx1_(xfig_example)]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Chandra_Coverage_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
 &lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Wind_structure_of_Cyg_X-1_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [http://adsabs.harvard.edu/abs/2011PhDT.........9H| Manfred's PhD thesis] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Satellite_Picture_Zoom_(xfig_example)]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Skyplot_of_source_positions_(xfig_example)]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=Eletromagnetic_spectrum_(xfig_example)]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=Periodic_Table_of_the_Elements_(xfig_example)]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=Lightbending_ptrace_(xfig_example)]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Atomic_Processes_(xfig_example)]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Simple inset ===&lt;br /&gt;
[[Inset plot (xfig example)| Easy example for an inset]]&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Insets_and_shaded_regions_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=GX304batlcobs_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=Hertzsprung-Russell_diagram_(xfig_example)]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Speedometer_Colorplot_(xfig_example)]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=3D_Maser_Disk_(xfig_example)]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Angstrom_to_keV_axis_transformation_(xfig_example)]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Plot_fit_model_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=Chisquared_Distribution_Plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Polar_plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1431</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1431"/>
		<updated>2018-05-02T11:49:50Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Colorful Cyg X-1 lightcurves */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Remeis X-fig plot gallery =&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== Mike's Fancy Plots ===&lt;br /&gt;
[[File:fancy_plot.png|400px|link=Mike's fancy plots (xfig example)]] Plotting spectra in the way of Mike's fancy plots&lt;br /&gt;
&lt;br /&gt;
=== Plotting Model Components ===&lt;br /&gt;
[[File:plot_individual_components.png|400px|link=Plotting Model Components (xfig example)]] Plotting individual model components&lt;br /&gt;
&lt;br /&gt;
=== Color-coded maps with png and xfig ===&lt;br /&gt;
[[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|How to plot a color-coded map (landscape) using png and xfig]]&lt;br /&gt;
&lt;br /&gt;
=== Two-dimensional histograms ===&lt;br /&gt;
&lt;br /&gt;
[[File:banana-plot.png|400px|link=Two-dimensional_histograms_(xfig_example)]] banana-plot with coordinate system —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Compounds and multiplots ===&lt;br /&gt;
[[File:multiplot_and_plot.png|300px|link=compounds and multi-panel plots (xfig example)]] Compounds and multi-panel plots —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Chi-squared_parabola_(xfig_example)]] [[File:Chisqr_ellipse.png|200px|link=Chi-squared_contours_(xfig_example)]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Orbit_plot_of_GX_301-2_(xfig_example)]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Color_Landscapes_(xfig_example)]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|an example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Contour_Plot_(xfig_example)]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=2D_Map_SAA_(xfig_example)]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=Lightcurve_Cygx1_(xfig_example)]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Chandra_Coverage_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
 &lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Wind_structure_of_Cyg_X-1_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [http://adsabs.harvard.edu/abs/2011PhDT.........9H| Manfred's PhD thesis] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Satellite_Picture_Zoom_(xfig_example)]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Skyplot_of_source_positions_(xfig_example)]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=Eletromagnetic_spectrum_(xfig_example)]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=Periodic_Table_of_the_Elements_(xfig_example)]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=Lightbending_ptrace_(xfig_example)]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Atomic_Processes_(xfig_example)]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Simple inset ===&lt;br /&gt;
[[Inset plot (xfig example)| Easy example for an inset]]&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Insets_and_shaded_regions_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=GX304batlcobs_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=Hertzsprung-Russell_diagram_(xfig_example)]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Speedometer_Colorplot_(xfig_example)]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Angstrom_to_keV_axis_transformation_(xfig_example)]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Plot_fit_model_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=Chisquared_Distribution_Plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Polar_plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1430</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1430"/>
		<updated>2018-05-02T11:48:40Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Insets as zoom-ins */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Remeis X-fig plot gallery =&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== Mike's Fancy Plots ===&lt;br /&gt;
[[File:fancy_plot.png|400px|link=Mike's fancy plots (xfig example)]] Plotting spectra in the way of Mike's fancy plots&lt;br /&gt;
&lt;br /&gt;
=== Plotting Model Components ===&lt;br /&gt;
[[File:plot_individual_components.png|400px|link=Plotting Model Components (xfig example)]] Plotting individual model components&lt;br /&gt;
&lt;br /&gt;
=== Color-coded maps with png and xfig ===&lt;br /&gt;
[[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|How to plot a color-coded map (landscape) using png and xfig]]&lt;br /&gt;
&lt;br /&gt;
=== Two-dimensional histograms ===&lt;br /&gt;
&lt;br /&gt;
[[File:banana-plot.png|400px|link=Two-dimensional_histograms_(xfig_example)]] banana-plot with coordinate system —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Compounds and multiplots ===&lt;br /&gt;
[[File:multiplot_and_plot.png|300px|link=compounds and multi-panel plots (xfig example)]] Compounds and multi-panel plots —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Chi-squared_parabola_(xfig_example)]] [[File:Chisqr_ellipse.png|200px|link=Chi-squared_contours_(xfig_example)]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Orbit_plot_of_GX_301-2_(xfig_example)]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Color_Landscapes_(xfig_example)]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|an example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Contour_Plot_(xfig_example)]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=2D_Map_SAA_(xfig_example)]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Chandra_Coverage_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
 &lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Wind_structure_of_Cyg_X-1_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [http://adsabs.harvard.edu/abs/2011PhDT.........9H| Manfred's PhD thesis] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Satellite_Picture_Zoom_(xfig_example)]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Skyplot_of_source_positions_(xfig_example)]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=Eletromagnetic_spectrum_(xfig_example)]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=Periodic_Table_of_the_Elements_(xfig_example)]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=Lightbending_ptrace_(xfig_example)]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Atomic_Processes_(xfig_example)]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Simple inset ===&lt;br /&gt;
[[Inset plot (xfig example)| Easy example for an inset]]&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Insets_and_shaded_regions_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=GX304batlcobs_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=Hertzsprung-Russell_diagram_(xfig_example)]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Speedometer_Colorplot_(xfig_example)]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Angstrom_to_keV_axis_transformation_(xfig_example)]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Plot_fit_model_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=Chisquared_Distribution_Plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Polar_plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1429</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1429"/>
		<updated>2018-05-02T11:47:54Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Relativistic photon trajectory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Remeis X-fig plot gallery =&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== Mike's Fancy Plots ===&lt;br /&gt;
[[File:fancy_plot.png|400px|link=Mike's fancy plots (xfig example)]] Plotting spectra in the way of Mike's fancy plots&lt;br /&gt;
&lt;br /&gt;
=== Plotting Model Components ===&lt;br /&gt;
[[File:plot_individual_components.png|400px|link=Plotting Model Components (xfig example)]] Plotting individual model components&lt;br /&gt;
&lt;br /&gt;
=== Color-coded maps with png and xfig ===&lt;br /&gt;
[[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|How to plot a color-coded map (landscape) using png and xfig]]&lt;br /&gt;
&lt;br /&gt;
=== Two-dimensional histograms ===&lt;br /&gt;
&lt;br /&gt;
[[File:banana-plot.png|400px|link=Two-dimensional_histograms_(xfig_example)]] banana-plot with coordinate system —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Compounds and multiplots ===&lt;br /&gt;
[[File:multiplot_and_plot.png|300px|link=compounds and multi-panel plots (xfig example)]] Compounds and multi-panel plots —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Chi-squared_parabola_(xfig_example)]] [[File:Chisqr_ellipse.png|200px|link=Chi-squared_contours_(xfig_example)]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Orbit_plot_of_GX_301-2_(xfig_example)]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Color_Landscapes_(xfig_example)]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|an example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Contour_Plot_(xfig_example)]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=2D_Map_SAA_(xfig_example)]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Chandra_Coverage_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
 &lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Wind_structure_of_Cyg_X-1_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [http://adsabs.harvard.edu/abs/2011PhDT.........9H| Manfred's PhD thesis] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Satellite_Picture_Zoom_(xfig_example)]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Skyplot_of_source_positions_(xfig_example)]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=Eletromagnetic_spectrum_(xfig_example)]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=Periodic_Table_of_the_Elements_(xfig_example)]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=Lightbending_ptrace_(xfig_example)]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Atomic_Processes_(xfig_example)]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Simple inset ===&lt;br /&gt;
[[Inset plot (xfig example)| Easy example for an inset]]&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Insets_and_shaded_regions_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=Hertzsprung-Russell_diagram_(xfig_example)]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Speedometer_Colorplot_(xfig_example)]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Angstrom_to_keV_axis_transformation_(xfig_example)]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Plot_fit_model_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=Chisquared_Distribution_Plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Polar_plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1428</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1428"/>
		<updated>2018-05-02T11:47:12Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Electromagnetic Spectrum */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Remeis X-fig plot gallery =&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== Mike's Fancy Plots ===&lt;br /&gt;
[[File:fancy_plot.png|400px|link=Mike's fancy plots (xfig example)]] Plotting spectra in the way of Mike's fancy plots&lt;br /&gt;
&lt;br /&gt;
=== Plotting Model Components ===&lt;br /&gt;
[[File:plot_individual_components.png|400px|link=Plotting Model Components (xfig example)]] Plotting individual model components&lt;br /&gt;
&lt;br /&gt;
=== Color-coded maps with png and xfig ===&lt;br /&gt;
[[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|How to plot a color-coded map (landscape) using png and xfig]]&lt;br /&gt;
&lt;br /&gt;
=== Two-dimensional histograms ===&lt;br /&gt;
&lt;br /&gt;
[[File:banana-plot.png|400px|link=Two-dimensional_histograms_(xfig_example)]] banana-plot with coordinate system —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Compounds and multiplots ===&lt;br /&gt;
[[File:multiplot_and_plot.png|300px|link=compounds and multi-panel plots (xfig example)]] Compounds and multi-panel plots —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Chi-squared_parabola_(xfig_example)]] [[File:Chisqr_ellipse.png|200px|link=Chi-squared_contours_(xfig_example)]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Orbit_plot_of_GX_301-2_(xfig_example)]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Color_Landscapes_(xfig_example)]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|an example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Contour_Plot_(xfig_example)]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=2D_Map_SAA_(xfig_example)]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Chandra_Coverage_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
 &lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Wind_structure_of_Cyg_X-1_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [http://adsabs.harvard.edu/abs/2011PhDT.........9H| Manfred's PhD thesis] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Satellite_Picture_Zoom_(xfig_example)]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Skyplot_of_source_positions_(xfig_example)]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=Eletromagnetic_spectrum_(xfig_example)]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=Periodic_Table_of_the_Elements_(xfig_example)]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Atomic_Processes_(xfig_example)]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Simple inset ===&lt;br /&gt;
[[Inset plot (xfig example)| Easy example for an inset]]&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Insets_and_shaded_regions_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=Hertzsprung-Russell_diagram_(xfig_example)]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Speedometer_Colorplot_(xfig_example)]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Angstrom_to_keV_axis_transformation_(xfig_example)]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Plot_fit_model_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=Chisquared_Distribution_Plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Polar_plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lightcurve_Cygx1_(xfig_example)&amp;diff=1427</id>
		<title>Lightcurve Cygx1 (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lightcurve_Cygx1_(xfig_example)&amp;diff=1427"/>
		<updated>2018-05-02T11:45:29Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== Color-coded lightcurves ===  The script below contains two versions of this plot: one starting in the year 2007 (running the script as it is), one several years earlier (u...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Color-coded lightcurves ===&lt;br /&gt;
&lt;br /&gt;
The script below contains two versions of this plot: one starting in the year 2007 (running the script as it is), one several years earlier (using some of the commented stuff instead). The reason is that the positions of some of the labels/lines in that plot needed to be adjusted when the overall plot size stayed the same but the data shown shrank.&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;
xfig_new_color(&amp;quot;3815n&amp;quot;, 0xA00000);&lt;br /&gt;
xfig_new_color(&amp;quot;3815d&amp;quot;, 0x600000);&lt;br /&gt;
xfig_new_color(&amp;quot;3815s&amp;quot;, 0xC85050);&lt;br /&gt;
xfig_new_color(&amp;quot;3814&amp;quot;, 0xA0A000);&lt;br /&gt;
xfig_new_color(&amp;quot;8525&amp;quot;, 0x00A000);&lt;br /&gt;
xfig_new_color(&amp;quot;9847&amp;quot;, 0x0000E0);&lt;br /&gt;
xfig_new_color(&amp;quot;11044&amp;quot;, 0x600080); &lt;br /&gt;
xfig_new_color(&amp;quot;gray&amp;quot;, 0x808080);&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%RXTE-ASM&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%variable lc_r = RXTE_ASM_lightcurve(&amp;quot;cygx1&amp;quot;; dt=1);&lt;br /&gt;
variable lc_r = fits_read_table(&amp;quot;/home/miskovicova/WORK/sources/CygX1/RXTE/ASM_lc/RXTE-ASM_CygX-1.fits&amp;quot;);&lt;br /&gt;
% run a get_data.sl script in that directiory to ge the most&lt;br /&gt;
% up-to-date light curve &lt;br /&gt;
&lt;br /&gt;
variable xxmin = min(lc_r.year);&lt;br /&gt;
variable xxmax = max(lc_r.year);&lt;br /&gt;
variable xymin = min(lc_r.rate);&lt;br /&gt;
variable xymax = max(lc_r.rate);&lt;br /&gt;
&lt;br /&gt;
variable x2xmin = MJDofDate(1996,1,1);&lt;br /&gt;
%variable x2xmax = max(lc_r.mjd);&lt;br /&gt;
variable startyear = 2007;&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% Swift&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
&lt;br /&gt;
variable lc_s = fits_read_table(&amp;quot;/eu/X-ray/Swift/BAT_lightcurves/CygX-1.lc.fits&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
variable yxmin = min(lc_s.time);&lt;br /&gt;
%variable yxmax = max(lc_s.time);&lt;br /&gt;
variable yymin = min(lc_s.rate);&lt;br /&gt;
variable yymax = max(lc_s.rate);&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% MAXI&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
&lt;br /&gt;
variable lc_m_time, lc_m_rate, lc_m_error, lc_m_2_4rate, lc_m_2_4err, &lt;br /&gt;
         lc_m_4_10rate, lc_m_4_10err, lc_m_10_20rate, lc_m_10_20err;&lt;br /&gt;
(lc_m_time, lc_m_rate, lc_m_error, lc_m_2_4rate, lc_m_2_4err, lc_m_4_10rate, lc_m_4_10err, &lt;br /&gt;
 lc_m_10_20rate, lc_m_10_20err) = readcol(&amp;quot;/eu/X-ray/MAXI/lc_1day/CygX-1.txt&amp;quot;, 1,2,3,4,5,6,7,8,9);&lt;br /&gt;
&lt;br /&gt;
variable maxi = struct{ mjd = lc_m_time, rate = lc_m_rate, err = lc_m_error };&lt;br /&gt;
&lt;br /&gt;
%variable zxmin = min(lc_m_time);&lt;br /&gt;
%variable zxmax = max(lc_m_time);&lt;br /&gt;
variable zymin = min(lc_m_rate);&lt;br /&gt;
variable zymax = max(lc_m_rate);&lt;br /&gt;
&lt;br /&gt;
variable max_all = max(max(lc_r.mjd), max(lc_s.time), max(lc_m_time));&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% plotting&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
&lt;br /&gt;
variable q,qq, maj = Double_Type[0];&lt;br /&gt;
_for q (1996,2012,1)&lt;br /&gt;
_for qq (1,12,1)&lt;br /&gt;
{&lt;br /&gt;
   maj = [maj, MJDofDate(q,qq,1)];&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable mino =[MJDofDate(1996,1,1),&lt;br /&gt;
		MJDofDate(1997,1,1),&lt;br /&gt;
		MJDofDate(1998,1,1),&lt;br /&gt;
		MJDofDate(1999,1,1),&lt;br /&gt;
		MJDofDate(2000,1,1),&lt;br /&gt;
		MJDofDate(2001,1,1),&lt;br /&gt;
		MJDofDate(2002,1,1),&lt;br /&gt;
		MJDofDate(2003,1,1),&lt;br /&gt;
		MJDofDate(2004,1,1),&lt;br /&gt;
		MJDofDate(2005,1,1),&lt;br /&gt;
		MJDofDate(2006,1,1),&lt;br /&gt;
		MJDofDate(2007,1,1),&lt;br /&gt;
		MJDofDate(2008,1,1),&lt;br /&gt;
		MJDofDate(2009,1,1),&lt;br /&gt;
		MJDofDate(2010,1,1),&lt;br /&gt;
		MJDofDate(2011,1,1),&lt;br /&gt;
		MJDofDate(2012,1,1)];&lt;br /&gt;
variable aa = 0.25, bb = 0.15;&lt;br /&gt;
&lt;br /&gt;
%variable x = xfig_plot_new(30,4.5);&lt;br /&gt;
variable x = xfig_plot_new(20,3.5);&lt;br /&gt;
%x.world(xxmin, xxmax, xymin-1, xymax+1);&lt;br /&gt;
%x.world1(x2xmin-50, x2xmax+200, 5, xymax+1);&lt;br /&gt;
%x.world2(x2xmin-50, x2xmax+200, 5, (zymin-1.5), (zymax+0.1));&lt;br /&gt;
x.world1(MJDofDate(startyear,1,1), max_all, xymin-1, xymax+10);&lt;br /&gt;
x.world2(MJDofDate(startyear,1,1), max_all, (zymin-2.5), (zymax+0.1));&lt;br /&gt;
%x.plot(lc_m_time, (lc_m_rate); world2, color=&amp;quot;black&amp;quot;, size=.5, depth=50);&lt;br /&gt;
&lt;br /&gt;
%%% MAXI color array:&lt;br /&gt;
variable grayscale = [0:0.75:#256];&lt;br /&gt;
&lt;br /&gt;
variable i, cl;&lt;br /&gt;
 foreach i ( [0:length(lc_m_time)-2] )&lt;br /&gt;
 {&lt;br /&gt;
    if(lc_m_time[i+1]-lc_m_time[i] &amp;gt;5 ) continue;&lt;br /&gt;
    cl = log((lc_m_rate[i]+lc_m_rate[i+1])/2/1)/log(4.5/1);&lt;br /&gt;
    if(cl&amp;lt;0)     { cl = 0;}&lt;br /&gt;
    if(cl&amp;gt;0.75)  { cl = 0.75;}&lt;br /&gt;
    cl = grayscale[ where(grayscale[[:-2]] &amp;lt;= cl &amp;lt;= grayscale[[1:]]) ][0];&lt;br /&gt;
    x.plot(lc_m_time[i+[0,1]], lc_m_rate[i+[0,1]]; world2, color=rgb2hex(cl, cl, cl;str));&lt;br /&gt;
 }                                                                                            %   &lt;br /&gt;
%message(&amp;quot;maxi done&amp;quot;);&lt;br /&gt;
%x.plot(lc_r.mjd, lc_r.rate; world1, sym=&amp;quot;point&amp;quot;, color=&amp;quot;blue&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
variable xtescale1 = [0:1:#100];&lt;br /&gt;
foreach i ( [0:length(lc_r.mjd)-2] )&lt;br /&gt;
{&lt;br /&gt;
   if(lc_r.mjd[i+1]-lc_r.mjd[i] &amp;gt;5 ) continue;&lt;br /&gt;
   $1 = log((lc_r.rate[i]+lc_r.rate[i+1])/2/13.5)/log(70/13.5);&lt;br /&gt;
   $2 = 0;&lt;br /&gt;
   if($1&amp;lt;0) { $2=-$1;  $1 = 0;}&lt;br /&gt;
   if($1&amp;gt;1) { $2=$1-1; $1 = 1;}&lt;br /&gt;
   $1 = xtescale1[ where(xtescale1[[:-2]] &amp;lt;= $1 &amp;lt;= xtescale1[[1:]] ) ][0];&lt;br /&gt;
   x.plot(lc_r.mjd[i+[0,1]], lc_r.rate[i+[0,1]]; world1, color=rgb2hex($1, $2, 1-$1;str));   &lt;br /&gt;
}&lt;br /&gt;
%message(&amp;quot;rxte done&amp;quot;);&lt;br /&gt;
x.plot([MJDofDate(2003,3,4), MJDofDate(2003,3,4)],   [xymin-1, xymax+10]; color=&amp;quot;3815n&amp;quot;);&lt;br /&gt;
x.plot([MJDofDate(2003,4,19), MJDofDate(2003,4,19)], [xymin-1, xymax+10]; color=&amp;quot;3814&amp;quot;);&lt;br /&gt;
x.plot([MJDofDate(2008,4,18), MJDofDate(2008,4,18)], [xymin-1, xymax+10]; color=&amp;quot;8525&amp;quot;);&lt;br /&gt;
x.plot([MJDofDate(2008,4,19)+3, MJDofDate(2008,4,19)+3], [xymin-1, xymax+10]; color=&amp;quot;9847&amp;quot;);&lt;br /&gt;
x.plot([MJDofDate(2010,1,14), MJDofDate(2010,1,14)], [xymin-1, xymax+10]; color=&amp;quot;11044&amp;quot;);&lt;br /&gt;
x.plot([MJDofDate(2011,1,6), MJDofDate(2011,1,6)], [xymin-1, xymax+10]; color=&amp;quot;gray&amp;quot;);&lt;br /&gt;
x.plot([MJDofDate(2012,2,6), MJDofDate(2012,2,6)], [xymin-1, xymax+10]; color=&amp;quot;gray&amp;quot;);&lt;br /&gt;
%variable obsid1 = xfig_new_text(&amp;quot;ObsID\\,3815&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;3815n&amp;quot;, rotate=0, x0=1.45, y0=-0.2, depth=10);&lt;br /&gt;
%variable obsid2 = xfig_new_text(&amp;quot;ObsID\\,3814&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;3814&amp;quot;, rotate=0, x0=1.75, y0=-0.5, depth=10);&lt;br /&gt;
%variable obsid3 = xfig_new_text(&amp;quot;ObsID\\,8525&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;8525&amp;quot;, rotate=0, x0=10.5, y0=-0.2, depth=10);&lt;br /&gt;
%variable obsid4 = xfig_new_text(&amp;quot;\\&amp;amp;\\,9847&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;9847&amp;quot;, rotate=0, x0=12.3, y0=-0.2, depth=10);&lt;br /&gt;
%variable obsid5 = xfig_new_text(&amp;quot;ObsID\\,11044&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;11044&amp;quot;, rotate=0, x0=15, y0=-0.2, depth=10);&lt;br /&gt;
%variable obsid6 = xfig_new_text(&amp;quot;ObsID\\,12472&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;gray&amp;quot;, rotate=0, x0=17.5, y0=-0.2, depth=10);&lt;br /&gt;
%variable obsid7 = xfig_new_text(&amp;quot;AO13&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;gray&amp;quot;, rotate=0, x0=19.5, y0=-0.2, depth=10);&lt;br /&gt;
variable obsid3 = xfig_new_text(&amp;quot;ObsID\\,8525&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;8525&amp;quot;, rotate=0, x0=3.7, y0=-0.2, depth=10);&lt;br /&gt;
variable obsid4 = xfig_new_text(&amp;quot;\\&amp;amp;\\,9847&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;9847&amp;quot;, rotate=0, x0=5.5, y0=-0.2, depth=10);&lt;br /&gt;
variable obsid5 = xfig_new_text(&amp;quot;11044&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;11044&amp;quot;, rotate=0, x0=11.7, y0=-0.2, depth=10);&lt;br /&gt;
variable obsid6 = xfig_new_text(&amp;quot;12472&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;gray&amp;quot;, rotate=0, x0=15.45, y0=-0.2, depth=10);&lt;br /&gt;
variable obsid7 = xfig_new_text(&amp;quot;AO13&amp;quot;; size=&amp;quot;footnotesize&amp;quot;, color=&amp;quot;gray&amp;quot;, rotate=0, x0=19.5, y0=-0.2, depth=10);&lt;br /&gt;
%x.add_object(obsid1);&lt;br /&gt;
%x.add_object(obsid2);&lt;br /&gt;
x.add_object(obsid3);&lt;br /&gt;
x.add_object(obsid4);&lt;br /&gt;
x.add_object(obsid5);&lt;br /&gt;
x.add_object(obsid6);&lt;br /&gt;
x.add_object(obsid7);&lt;br /&gt;
x.y2axis(; major=[int(zymin):int(zymax):2], major_len=0.25, minor=[int(zymin):int(zymax):0.5], minor_len=0.15);&lt;br /&gt;
x.y2label(&amp;quot;\textsl{MAXI} 2--20\,keV&amp;quot;R);&lt;br /&gt;
%x.xylabel((x2xmin-380), 70, &amp;quot;\textsl{RXTE}-ASM&amp;quot;R; rotate=90);&lt;br /&gt;
%x.xylabel((x2xmin-280), 70, &amp;quot;1,5--12\,keV&amp;quot;R; rotate=90);&lt;br /&gt;
%x.xylabel(MJDofDate(startyear,1,1)-255, 70, &amp;quot;\textsl{RXTE}-ASM&amp;quot;R; rotate=90);&lt;br /&gt;
%x.xylabel(MJDofDate(startyear,1,1)-190, 70, &amp;quot;1,5--12\,keV&amp;quot;R; rotate=90);&lt;br /&gt;
x.xylabel(MJDofDate(startyear,1,1)-145, 70, &amp;quot;\textsl{RXTE}-ASM&amp;quot;R; rotate=90);&lt;br /&gt;
x.xylabel(MJDofDate(startyear,1,1)-105, 70, &amp;quot;1,5--12\,keV&amp;quot;R; rotate=90);&lt;br /&gt;
x.x1axis(; ticlabels=0, color=&amp;quot;white&amp;quot;);&lt;br /&gt;
%x.x2axis(; ticlabels=0);&lt;br /&gt;
x.x2axis(; major=maj, minor=mino, ticlabels=0,&lt;br /&gt;
	          %ticlabels=[&amp;quot;1996&amp;quot;,&amp;quot;1997&amp;quot;,&amp;quot;1998&amp;quot;,&amp;quot;1999&amp;quot;,&amp;quot;2000&amp;quot;,&amp;quot;2001&amp;quot;,&amp;quot;2002&amp;quot;,&amp;quot;2003&amp;quot;,&amp;quot;2004&amp;quot;,&amp;quot;2005&amp;quot;,&amp;quot;2006&amp;quot;,&amp;quot;2007&amp;quot;,&amp;quot;2008&amp;quot;,&amp;quot;2009&amp;quot;,&amp;quot;2010&amp;quot;,&amp;quot;2011&amp;quot;,&amp;quot;2012&amp;quot;],&lt;br /&gt;
	          major_len=0.15, minor_len=0.3);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%variable y = xfig_plot_new(30,3);&lt;br /&gt;
variable y = xfig_plot_new(20,2);&lt;br /&gt;
%y.world1(2003, xxmax, (yymin-0.01), (yymax+0.01));&lt;br /&gt;
y.world(MJDofDate(startyear,1,1), max_all, -0.08, (yymax+0.01) );%(yymin-0.01), (yymax+0.01));&lt;br /&gt;
%y.world2(dateOfMJD(52640), dateOfMJD(55996.5), (yymin-0.01), (yymax+0.01));&lt;br /&gt;
%y.plot(lc_s.time, lc_s.rate; world2, color=&amp;quot;red&amp;quot;);&lt;br /&gt;
variable j,k, swiftcl = Integer_Type[length(lc_s.time)-1];&lt;br /&gt;
foreach i ( [0:length(lc_s.time)-2] )&lt;br /&gt;
{&lt;br /&gt;
   if(lc_s.time[i+1]-lc_s.time[i] &amp;gt;5) continue;&lt;br /&gt;
   j = where(int(lc_r.mjd[[:-2]])+1 == lc_s.time[i]);&lt;br /&gt;
   if (length(j) == 0)&lt;br /&gt;
     {&lt;br /&gt;
	k = where_min ( abs( (lc_s.rate[[0:i-2]]+lc_s.rate[[0:i-2]+1] )/2. - (lc_s.rate[i]+lc_s.rate[i+1])/2.  ) );&lt;br /&gt;
	j = swiftcl[k];&lt;br /&gt;
     }&lt;br /&gt;
   else { j = j[0]; }&lt;br /&gt;
 $1 = log((lc_r.rate[j]+lc_r.rate[j+1])/2/13.5)/log(70/13.5);&lt;br /&gt;
 $2 = 0;&lt;br /&gt;
 if($1&amp;lt;0) {$2=-$1;  $1 = 0;}&lt;br /&gt;
 if($1&amp;gt;1) {$2=$1-1; $1 = 1;}&lt;br /&gt;
 swiftcl[i] = j;&lt;br /&gt;
   $1 = xtescale1[ where(xtescale1[[:-2]] &amp;lt;= $1 &amp;lt;= xtescale1[[1:]] ) ][0];&lt;br /&gt;
 y.plot(lc_s.time[i+[0,1]], lc_s.rate[i+[0,1]]; color=rgb2hex($1, $2, 1-$1; str));&lt;br /&gt;
}&lt;br /&gt;
%message(&amp;quot;swift done&amp;quot;);&lt;br /&gt;
y.plot([MJDofDate(2003,3,4), MJDofDate(2003,3,4)],   [-0.1, yymax+0.01]; color=&amp;quot;3815n&amp;quot;);&lt;br /&gt;
y.plot([MJDofDate(2003,4,19), MJDofDate(2003,4,19)], [-0.1, yymax+0.01]; color=&amp;quot;3814&amp;quot;);&lt;br /&gt;
y.plot([MJDofDate(2008,4,18), MJDofDate(2008,4,18)], [-0.1, yymax+0.01]; color=&amp;quot;8525&amp;quot;);&lt;br /&gt;
y.plot([MJDofDate(2008,4,19)+3, MJDofDate(2008,4,19)+3], [-0.1, yymax+0.01]; color=&amp;quot;9847&amp;quot;);&lt;br /&gt;
y.plot([MJDofDate(2010,1,14), MJDofDate(2010,1,14)], [-0.1, yymax+0.01]; color=&amp;quot;11044&amp;quot;);&lt;br /&gt;
y.plot([MJDofDate(2011,1,6), MJDofDate(2011,1,6)], [xymin-1, xymax+10]; color=&amp;quot;gray&amp;quot;);&lt;br /&gt;
y.plot([MJDofDate(2012,2,6), MJDofDate(2012,2,6)], [xymin-1, xymax+10]; color=&amp;quot;gray&amp;quot;); &lt;br /&gt;
%y.xylabel(MJDofDate(startyear,1,1)-255,0.2, &amp;quot;\textsl{Swift}-BAT&amp;quot;R; rotate=90);&lt;br /&gt;
%y.xylabel(MJDofDate(startyear,1,1)-190,0.2, &amp;quot;15--50\,keV&amp;quot;R; rotate=90);&lt;br /&gt;
y.xylabel(MJDofDate(startyear,1,1)-145,0.2, &amp;quot;\textsl{Swift}-BAT&amp;quot;R; rotate=90);&lt;br /&gt;
y.xylabel(MJDofDate(startyear,1,1)-105,0.2, &amp;quot;15--50\,keV&amp;quot;R; rotate=90);&lt;br /&gt;
y.x1axis(; world2);&lt;br /&gt;
variable cc = &amp;quot;\color{white}{a}&amp;quot;R;&lt;br /&gt;
%variable ticcs = [cc,cc,&amp;quot;1996&amp;quot;,cc,cc,cc,&amp;quot;1997&amp;quot;,cc,cc,cc,&amp;quot;1998&amp;quot;,cc,cc,cc,&amp;quot;1999&amp;quot;,cc,cc,cc,&lt;br /&gt;
%		  &amp;quot;2000&amp;quot;,cc,cc,cc,&amp;quot;2001&amp;quot;,cc,cc,cc,&amp;quot;2002&amp;quot;,cc,cc,cc,&amp;quot;2003&amp;quot;,cc,cc,cc,&lt;br /&gt;
%		  &amp;quot;2004&amp;quot;,cc,cc,cc,&amp;quot;2005&amp;quot;,cc,cc,cc,&amp;quot;2006&amp;quot;,cc,cc,cc,&amp;quot;2007&amp;quot;,cc,cc,cc,&lt;br /&gt;
%		  &amp;quot;2008&amp;quot;,cc,cc,cc,&amp;quot;2009&amp;quot;,cc,cc,cc,&amp;quot;2010&amp;quot;,cc,cc,cc,&amp;quot;2011&amp;quot;,cc,cc,cc,&amp;quot;2012&amp;quot;,cc];&lt;br /&gt;
variable ticcs = String_Type[length(maj)];&lt;br /&gt;
ticcs[*] = cc;&lt;br /&gt;
_for q (0,16,1) ticcs[q*12+6] = string(1996+q);&lt;br /&gt;
%variable ticcss = [&amp;quot;1996&amp;quot;,&amp;quot;1997&amp;quot;,&amp;quot;1998&amp;quot;,&amp;quot;1999&amp;quot;,&amp;quot;2000&amp;quot;,&amp;quot;2001&amp;quot;,&amp;quot;2002&amp;quot;,&amp;quot;2003&amp;quot;,&amp;quot;2004&amp;quot;,&amp;quot;2005&amp;quot;,&amp;quot;2006&amp;quot;,&lt;br /&gt;
%		  &amp;quot;2007&amp;quot;,&amp;quot;2008&amp;quot;,&amp;quot;2009&amp;quot;,&amp;quot;2010&amp;quot;,&amp;quot;2011&amp;quot;,&amp;quot;2012&amp;quot;];&lt;br /&gt;
y.x1axis(; major=maj, minor=mino,&lt;br /&gt;
	          ticlabels=ticcs,&lt;br /&gt;
	          major_len=0.15, minor_len=0.3);&lt;br /&gt;
y.x2axis(; ticlabels=0, color=&amp;quot;white&amp;quot;);&lt;br /&gt;
y.translate(vector(0,-2.5,0));&lt;br /&gt;
&lt;br /&gt;
x.add_object(y);&lt;br /&gt;
%message(&amp;quot;kidiing???&amp;quot;);&lt;br /&gt;
x.render(&amp;quot;lc_cygx1.eps&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lightbending_ptrace_(xfig_example)&amp;diff=1426</id>
		<title>Lightbending ptrace (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lightbending_ptrace_(xfig_example)&amp;diff=1426"/>
		<updated>2018-05-02T11:43:00Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== Relativistic photon trajectory === center  &amp;lt;pre&amp;gt; require(&amp;quot;/home/falkner/Public/lightbending.git/lbscripts&amp;quot;);  define lb_plot_ptracesketch( R, b...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;/home/falkner/Public/lightbending.git/lbscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
define lb_plot_ptracesketch( R, b ){&lt;br /&gt;
&lt;br /&gt;
  variable size = qualifier(&amp;quot;size&amp;quot;,16);&lt;br /&gt;
  variable rmax = qualifier(&amp;quot;rmax&amp;quot;,10.);&lt;br /&gt;
  variable index = qualifier(&amp;quot;index&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;
  if( index !=&amp;quot;&amp;quot; )&lt;br /&gt;
    index = string( &amp;quot;\\ensuremath{_&amp;quot;+index+&amp;quot;}&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
  variable dx = qualifier(&amp;quot;dx&amp;quot;,1.);&lt;br /&gt;
  &lt;br /&gt;
  variable a1 = lb_a_ub( 1./R, b );&lt;br /&gt;
  variable a2 = PI-a1;&lt;br /&gt;
  variable p1 = lb_psi_ua_belob( 1./R, a1 );&lt;br /&gt;
  variable p2 = lb_psi_ua_belob( 1./R, a2 ; b=b );&lt;br /&gt;
  variable p = lb_p_b( b );&lt;br /&gt;
  variable psip = lb_psi_ua_belob( 1./p, PI/2. ; b=b );&lt;br /&gt;
&lt;br /&gt;
  variable pon = 0;&lt;br /&gt;
  if( qualifier_exists(&amp;quot;periastron&amp;quot;) )&lt;br /&gt;
    pon = 1;&lt;br /&gt;
  variable pmax = p1;&lt;br /&gt;
  if(pon)&lt;br /&gt;
    pmax = p2;&lt;br /&gt;
  &lt;br /&gt;
  variable trace = lb_ptrace_belob( b; pmax=pmax, rmax=rmax);&lt;br /&gt;
&lt;br /&gt;
  variable xmax = abs(max(trace.r)*cos(min(trace.p)));&lt;br /&gt;
  variable ymax = abs(max(trace.r)*sin(min(trace.p)));&lt;br /&gt;
  variable tmp,dr;&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  variable xf;&lt;br /&gt;
  if( qualifier_exists(&amp;quot;addto&amp;quot;) )&lt;br /&gt;
    xf=qualifier(&amp;quot;addto&amp;quot;);&lt;br /&gt;
  else{&lt;br /&gt;
    xf = xfig_plot_new(size,size);&lt;br /&gt;
    xf.world(-1.2*xmax,1.2*xmax,-1.2*xmax,1.2*xmax;xpad,ypad);&lt;br /&gt;
    xf.axis(;off);&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  %Circle at R&lt;br /&gt;
  tmp = [0:2*PI:#100];&lt;br /&gt;
  xf.plot( R*cos(tmp), R*sin(tmp) ; line=2 );&lt;br /&gt;
  tmp = 2.5/R*7./4.*PI;&lt;br /&gt;
  xf.plot( [0,R*cos(tmp)], [0,R*sin(tmp)] ; line=2 );&lt;br /&gt;
  xf.xylabel(.5*R*cos(0.93*tmp), .5*R*sin(0.93*tmp) , &amp;quot;$R$&amp;quot;+index );&lt;br /&gt;
  &lt;br /&gt;
  %trace&lt;br /&gt;
  xf.plot( trace.r*cos(trace.p), trace.r*sin(trace.p) ; width=4, color=&amp;quot;red&amp;quot;, depth=20);&lt;br /&gt;
  xf.xylabel(dx*xmax,b,&amp;quot;photon&amp;quot;+index,.5,-.5);&lt;br /&gt;
  &lt;br /&gt;
  % impact parameter&lt;br /&gt;
  xf.plot( dx*[0.8*xmax, 0.8*xmax],[0,b] );&lt;br /&gt;
  xf.xylabel( dx*0.8*xmax, b/2., &amp;quot;$b$&amp;quot;+index, .5,0);&lt;br /&gt;
&lt;br /&gt;
  ifnot( qualifier_exists(&amp;quot;addto&amp;quot;) ){&lt;br /&gt;
    % observer sky&lt;br /&gt;
    xf.plot( [1.1*xmax,1.1*xmax],[-1.2*ymax,1.2*ymax] ; line=3 );&lt;br /&gt;
    xf.xylabel( 1.12*xmax, 0, &amp;quot;{\\tiny observer sky at infinity}&amp;quot;,-.5,0 ; rotate=90 );&lt;br /&gt;
    &lt;br /&gt;
    % line of sight&lt;br /&gt;
    xf.plot( [0,xmax],[0,0] );&lt;br /&gt;
    xf.xylabel( .5*(xmax+R),-.05*R,&amp;quot;\\tiny line of sight&amp;quot;,.0,.5);&lt;br /&gt;
  }&lt;br /&gt;
  ifnot( qualifier_exists(&amp;quot;nopsi&amp;quot;) ){&lt;br /&gt;
    % Psi R&lt;br /&gt;
    xf.plot( [0,1.5*R*cos(p1)],[0,1.5*R*sin(p1)] ; depth=19 );&lt;br /&gt;
    tmp = [0:p1:#100];&lt;br /&gt;
    dr = .45;&lt;br /&gt;
    xf.plot( dr*R*cos(tmp),dr*R*sin(tmp) );&lt;br /&gt;
    dr += .2;&lt;br /&gt;
    xf.xylabel( dr*R*cos(p1/2.), dr*R*sin(p1/2.), &amp;quot;$\\Psi_{R&amp;quot;+index+&amp;quot;}$&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  % alpha&lt;br /&gt;
  if( qualifier_exists(&amp;quot;alpha&amp;quot;) ){&lt;br /&gt;
    tmp = [p1-a1:p1:#100];&lt;br /&gt;
    dr=.4;&lt;br /&gt;
    xf.plot( R*cos(p1)+dr*R*cos(tmp), R*sin(p1)+dr*R*sin(tmp) ;depth=19);&lt;br /&gt;
    xf.xylabel( R*cos(p1)+.7*dr*R*cos(p1-a1/2.), R*sin(p1)+.7*dr*R*sin(p1-a1/2.),&lt;br /&gt;
		&amp;quot;$\\alpha$&amp;quot;+index );&lt;br /&gt;
    dr = 1.;&lt;br /&gt;
    xf.plot( R*cos(p1)+[0,dr*R*cos(p1-a1)],R*sin(p1)+[0,dr*R*sin(p1-a1)] ; line=1,depth=19);&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if(pon){&lt;br /&gt;
    ifnot( qualifier_exists(&amp;quot;nopsi&amp;quot;) ){&lt;br /&gt;
      % Psi R prime&lt;br /&gt;
      xf.plot( [0,1.5*R*cos(p2)],[0,1.5*R*sin(p2)] ; depth=19);&lt;br /&gt;
      tmp = [0:p2:#100];&lt;br /&gt;
      dr = .15;&lt;br /&gt;
      xf.plot( dr*R*cos(tmp),dr*R*sin(tmp) );&lt;br /&gt;
      dr += .3;&lt;br /&gt;
      xf.xylabel( dr*R*cos(.5*(psip+p2)), dr*R*sin(.5*(psip+p2)), &amp;quot;$\\Psi^*_{R&amp;quot;+index+&amp;quot;}$&amp;quot;);&lt;br /&gt;
      &lt;br /&gt;
      % periastron&lt;br /&gt;
      xf.plot( [0,p*cos(psip)],[0,p*sin(psip)] );&lt;br /&gt;
      tmp = [0:psip:#100];&lt;br /&gt;
      dr = .3;&lt;br /&gt;
      xf.plot( dr*R*cos(tmp), dr*R*sin(tmp) );&lt;br /&gt;
      dr += .2;&lt;br /&gt;
      xf.xylabel( dr*R*cos(.5*(psip+p1)), dr*R*sin(.5*(psip+p1)), &amp;quot;$\\Psi_{p&amp;quot;+index+&amp;quot;}$&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    if( qualifier_exists(&amp;quot;alpha&amp;quot;) ){&lt;br /&gt;
      % alpha prime&lt;br /&gt;
      tmp = [p2-a2:p2:#100];&lt;br /&gt;
      dr = .4;&lt;br /&gt;
      xf.xylabel( R*cos(p2)+.6*dr*R*cos(p2-a2/2.), R*sin(p2)+.6*dr*R*sin(p2-a2/2.),&lt;br /&gt;
		  &amp;quot;$\\alpha^*$&amp;quot;+index );&lt;br /&gt;
      xf.plot( R*cos(p2)+dr*R*cos(tmp), R*sin(p2)+dr*R*sin(tmp) ;depth=19);&lt;br /&gt;
      dr = 1.5;&lt;br /&gt;
      xf.plot( R*cos(p2)+[0,dr*R*cos(p2-a2)],R*sin(p2)+[0,dr*R*sin(p2-a2)] ; line=1,depth=19);&lt;br /&gt;
&lt;br /&gt;
      if(qualifier_exists(&amp;quot;symm&amp;quot;)){&lt;br /&gt;
	% alpha prime at alpha&lt;br /&gt;
	tmp = [p1:p1+a2:#100];&lt;br /&gt;
	dr = .4;&lt;br /&gt;
	xf.xylabel( R*cos(p1)+.6*dr*R*cos(p1+a2/2.), R*sin(p1)+.6*dr*R*sin(p1+a2/2.),&lt;br /&gt;
			  &amp;quot;$\\alpha^*$&amp;quot;+index );&lt;br /&gt;
	xf.plot( R*cos(p1)+dr*R*cos(tmp), R*sin(p1)+dr*R*sin(tmp);depth=19 );&lt;br /&gt;
	dr = 1.;&lt;br /&gt;
	xf.plot( R*cos(p1)+[0,dr*R*cos(p1+a2)],R*sin(p1)+[0,dr*R*sin(p1+a2)] ; line=1,depth=19);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  return xf;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
variable R = 2.5;&lt;br /&gt;
variable b = 2.9;&lt;br /&gt;
&lt;br /&gt;
variable xf;&lt;br /&gt;
xf = lb_plot_ptracesketch( R, b );&lt;br /&gt;
xf.render(&amp;quot;ptrace1.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
xf = lb_plot_ptracesketch( R, b ; periastron );&lt;br /&gt;
xf.render(&amp;quot;ptrace2.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
xf = lb_plot_ptracesketch( R, b ; alpha,periastron,symm );&lt;br /&gt;
xf.render(&amp;quot;ptrace3.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
variable R2 = 1.5*R;&lt;br /&gt;
variable b2 = 1.3*b;&lt;br /&gt;
variable p1 = lb_psi_ua_belob( 1./R,   lb_a_ub( 1./R, b )  );&lt;br /&gt;
variable p2 = lb_psi_ua_belob( 1./R2, lb_a_ub( 1./R2, b2 ) );&lt;br /&gt;
variable p3 = lb_psi_ua_belob( 1./R2, PI-lb_a_ub( 1./R2, b2 ));&lt;br /&gt;
xf = lb_plot_ptracesketch( R2, b2 ; nopsi,index=&amp;quot;2&amp;quot;,periastron,dx=0.9);&lt;br /&gt;
xf = lb_plot_ptracesketch( R, b ; nopsi, addto=@xf, index=&amp;quot;1&amp;quot; );&lt;br /&gt;
xf.plot( R,0; sym=1, size=1,fill );&lt;br /&gt;
xf.plot( R*cos(p1),R*sin(p1); sym=1, size=1,fill,fillcolor=&amp;quot;red&amp;quot;,depth=18 );&lt;br /&gt;
xf.plot( R2,0; sym=0, size=4,fill );&lt;br /&gt;
xf.plot( R2*cos(p2),R2*sin(p2); sym=0, size=4,fill,fillcolor=&amp;quot;red&amp;quot;,depth=18 );&lt;br /&gt;
xf.plot( R2*cos(p3),R2*sin(p3); sym=0, size=4,fill,fillcolor=&amp;quot;white&amp;quot;,depth=18 );&lt;br /&gt;
xf.render(&amp;quot;ptrace4.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
exit;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=GX304batlcobs_(xfig_example)&amp;diff=1425</id>
		<title>GX304batlcobs (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=GX304batlcobs_(xfig_example)&amp;diff=1425"/>
		<updated>2018-05-02T11:38:39Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== Insets as zoom-ins  ===  center  &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;);  %%% all necessary data  % get ObsIDs, tstart, and tstop of all used data from so...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Insets as zoom-ins  ===&lt;br /&gt;
&lt;br /&gt;
[[File:gx304batlcobs.png|center]]&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;
%%% all necessary data&lt;br /&gt;
&lt;br /&gt;
% get ObsIDs, tstart, and tstop of all used data from somewhere&lt;br /&gt;
variable data = struct {&lt;br /&gt;
  obsid = [...],&lt;br /&gt;
  tstart = [...],&lt;br /&gt;
  tstop = [...]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% load BAT-lightcurve&lt;br /&gt;
variable bat = fits_read_table(&amp;quot;source.lc.fits&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
%%% initialize xfig plot&lt;br /&gt;
&lt;br /&gt;
variable W = 28, H = 10; % width and height of the full-lc plot&lt;br /&gt;
variable wt0 = 54850, wt1 = 56800; % xrange in MJD of this plot&lt;br /&gt;
variable Wi = 5.2, Hi = 3.5; % width and height of the zoom plots&lt;br /&gt;
variable pl = xfig_plot_new(W,H);&lt;br /&gt;
% set world; the negative, small pad-values removes the tic-labels&lt;br /&gt;
% at the end of each axis (my personal liking)&lt;br /&gt;
pl.world(wt0, wt1, 0, 0.8; padx = -1e-6, pady = -1e-6);&lt;br /&gt;
% set 2nd world, here the years&lt;br /&gt;
pl.world2(yearOfMJD(pl.get_world()[0]), yearOfMJD(pl.get_world()[1]),&lt;br /&gt;
	  __push_array(pl.get_world()[[2,3]]); padx = -1e-6, pady = -1e-6);&lt;br /&gt;
pl.x2axis(; major = [2009:2014]+.5-1e-6, minor = [2009:2015],&lt;br /&gt;
            major_len = 0, minor_len = .2, format= &amp;quot; %.0f&amp;quot;);	    &lt;br /&gt;
pl.y2axis(; ticlabels = 0);&lt;br /&gt;
pl.y1axis(; format = &amp;quot;%.2f&amp;quot;);&lt;br /&gt;
pl.xlabel(&amp;quot;Time (MJD)&amp;quot;);&lt;br /&gt;
pl.ylabel(&amp;quot;BAT-cts\,s$^{-1}$\,cm$^{-2}$&amp;quot;R);&lt;br /&gt;
&lt;br /&gt;
%%% plot lightcurve&lt;br /&gt;
&lt;br /&gt;
pl.plot(bat.time, bat.rate, bat.error; color = &amp;quot;red&amp;quot;, sym = &amp;quot;x&amp;quot;,&lt;br /&gt;
        width = 1, size = .5);&lt;br /&gt;
&lt;br /&gt;
%%% create zoom plots&lt;br /&gt;
&lt;br /&gt;
variable pli = Struct_Type[4]; % an array of structures; for each plot one element&lt;br /&gt;
variable t0 = [55260, 55395, 55520, 55655]; % the start (in MJD) for each plot&lt;br /&gt;
variable dt = 60; % the length (in days) for every plot (such that the scaling is equal for all)&lt;br /&gt;
variable ymx = [0.05, 0.42, 0.27, 0.28]; % the maximum y-value for each plot (in cts/s/cm^2)&lt;br /&gt;
variable dx = .24; % the relative spacing between each plot (measured from their centers)&lt;br /&gt;
&lt;br /&gt;
% loop over all plots and create them&lt;br /&gt;
variable i;&lt;br /&gt;
_for i (0, length(pli)-1, 1) {&lt;br /&gt;
  %%% initialize the zoom plots&lt;br /&gt;
  pli[i] = xfig_plot_new(Wi, Hi);&lt;br /&gt;
  pli[i].world(t0[i], t0[i]+dt, 0, ymx[i]*1.1; pady = -1e-6);&lt;br /&gt;
  pli[i].xaxis(; major = t0[i]+[.25,.75]*dt, minor = t0[i]+[0:dt:10],&lt;br /&gt;
                 ticlabel_size = &amp;quot;footnotesize&amp;quot;);&lt;br /&gt;
  pli[i].y1axis(; ticlabel_size = &amp;quot;footnotesize&amp;quot;, format = &amp;quot;%.2f&amp;quot;);&lt;br /&gt;
  pli[i].x2axis(; ticlabels = 0);&lt;br /&gt;
  &lt;br /&gt;
  %%% plot the lightcurve&lt;br /&gt;
  pli[i].plot(bat.time, bat.rate, bat.error; color = &amp;quot;red&amp;quot;, sym = &amp;quot;x&amp;quot;,&lt;br /&gt;
              width = 1, size = .5);&lt;br /&gt;
  % add the observation times&lt;br /&gt;
  pli[i].plot(.5*(data.tstart+data.tstop), ones(length(data.tstart))*ymx[i];&lt;br /&gt;
              sym = &amp;quot;darr&amp;quot;, color = &amp;quot;blue&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
  %%% add the object to the full lightcurve plot&lt;br /&gt;
  variable ix = .5*(1.-dx*length(pli)) + dx*(i+.5); % relative x-coordinate of the zoom plot&lt;br /&gt;
  pl.add_object(pli[i], ix, .55, 0, -.5; world0);&lt;br /&gt;
&lt;br /&gt;
  %%% calculate the xy-positions for the lines connecting&lt;br /&gt;
  %%% the zoom plots with the full lightcurve&lt;br /&gt;
  &lt;br /&gt;
  % relative x/y-coordinates of the lower-[left,right]-corner of the zoom plot&lt;br /&gt;
  variable xi = (pli[i].plot_data.X.x + [0, Wi]) / W;&lt;br /&gt;
  variable yi = pli[i].plot_data.X[0].y / H * [1,1];&lt;br /&gt;
  % relative x/y-coordinates of the [beginning,end] of the zoom time range _in_ the full lightcurve plot&lt;br /&gt;
  variable xl = 1.*(t0[i]+[0,dt]-wt0) / (wt1-wt0);&lt;br /&gt;
  variable yl = (max(bat.rate[where(t0[i] &amp;lt; bat.time &amp;lt; t0[i]+dt)]) + [0.02, 0.04]) / .8;&lt;br /&gt;
&lt;br /&gt;
  %%% plot the connecting lines&lt;br /&gt;
  pl.plot([xl[0], xl[0], xi[0]], [yl, yi[0]]; world0, color = &amp;quot;gray&amp;quot;);&lt;br /&gt;
  pl.plot([xl[1], xl[1], xi[1]], [yl, yi[1]]; world0, color = &amp;quot;gray&amp;quot;);&lt;br /&gt;
  % shade the area in between&lt;br /&gt;
  pl.shade_region(&lt;br /&gt;
    [xl[0], xl[0], xi[0], xi[1], xl[1], xl[1], xl[1]],&lt;br /&gt;
    [yl[0], yl[1], yi[0], yi[1], yl[1], yl[0], yl[0]];&lt;br /&gt;
    color = &amp;quot;#DDDDDD&amp;quot;, world0&lt;br /&gt;
  );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% render&lt;br /&gt;
pl.render(&amp;quot;BAT_lc.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Eletromagnetic_spectrum_(xfig_example)&amp;diff=1424</id>
		<title>Eletromagnetic spectrum (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Eletromagnetic_spectrum_(xfig_example)&amp;diff=1424"/>
		<updated>2018-05-02T11:33:40Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== Eletromagnetic spectrum === center  &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;); %%%%%%%%%%%%%%%%%%%%%%%%%% %Define Constants   variable wavelength; % m variable...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Eletromagnetic spectrum ===&lt;br /&gt;
[[File:elmag.png|800px|center]]&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;
%Define Constants &lt;br /&gt;
&lt;br /&gt;
variable wavelength; % m&lt;br /&gt;
variable frequency; % 1/s = Hz&lt;br /&gt;
variable energy;&lt;br /&gt;
variable c = 299792458.0; %m/s&lt;br /&gt;
variable h_J = 6.62606957*10^(-34); % J·s&lt;br /&gt;
variable h_eV = 4.135667516*10^(-15); % eV*s&lt;br /&gt;
variable h_erg = 6.62606957*10^(-27); % erg*s&lt;br /&gt;
&lt;br /&gt;
variable give_wavelength=NULL;&lt;br /&gt;
variable give_frequency=22*10^9;&lt;br /&gt;
define to_rgb (r, g, b)&lt;br /&gt;
{&lt;br /&gt;
          return (r &amp;lt;&amp;lt; 16) | (g &amp;lt;&amp;lt; 8) | b;&lt;br /&gt;
}&lt;br /&gt;
xfig_new_color (&amp;quot;dark_gray&amp;quot;, 0x606060);&lt;br /&gt;
xfig_new_color (&amp;quot;orange&amp;quot;, 0xEF9F2E);&lt;br /&gt;
xfig_new_color (&amp;quot;dark_orange&amp;quot;, 0xF97305);&lt;br /&gt;
xfig_new_color (&amp;quot;pink&amp;quot;, 0xF90580);&lt;br /&gt;
xfig_new_color(&amp;quot;banana&amp;quot;,to_rgb(232,197,0));&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
define wavelength2frequency(wavelength)&lt;br /&gt;
{&lt;br /&gt;
frequency = (1./wavelength)*c;&lt;br /&gt;
return frequency;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define frequency2wavelength(frequency)&lt;br /&gt;
{&lt;br /&gt;
wavelength = (1./frequency)*c;&lt;br /&gt;
return wavelength;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
define frequency2energy_J(frequency)&lt;br /&gt;
{&lt;br /&gt;
energy = frequency*h_J;&lt;br /&gt;
return energy;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define frequency2energy_eV(frequency)&lt;br /&gt;
{&lt;br /&gt;
energy = frequency*h_eV;&lt;br /&gt;
return energy;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define frequency2energy_erg(frequency)&lt;br /&gt;
{&lt;br /&gt;
energy = frequency*h_erg;&lt;br /&gt;
return energy;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
define energy2frequency_J(energy)&lt;br /&gt;
{&lt;br /&gt;
frequency = energy/h_J;&lt;br /&gt;
return frequency;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define energy2frequency_eV(energy)&lt;br /&gt;
{&lt;br /&gt;
frequency = energy/h_eV;&lt;br /&gt;
return frequency;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define energy2frequency_erg(energy)&lt;br /&gt;
{&lt;br /&gt;
frequency = energy/h_erg;&lt;br /&gt;
return frequency;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
define energy2wavelength_J(energy)&lt;br /&gt;
{&lt;br /&gt;
wavelength = h_J*c/energy;&lt;br /&gt;
return wavelength;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define energy2wavelength_eV(energy)&lt;br /&gt;
{&lt;br /&gt;
wavelength = h_eV*c/energy;&lt;br /&gt;
return wavelength;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define energy2wavelength_erg(energy)&lt;br /&gt;
{&lt;br /&gt;
wavelength = h_erg*c/energy;&lt;br /&gt;
return wavelength;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
define wavelength2energy_J(wavelength)&lt;br /&gt;
{&lt;br /&gt;
energy = h_J*c/wavelength;&lt;br /&gt;
return energy;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define wavelength2energy_eV(wavelength)&lt;br /&gt;
{&lt;br /&gt;
energy = h_eV*c/wavelength;&lt;br /&gt;
return energy;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%&lt;br /&gt;
define wavelength2energy_erg(wavelength)&lt;br /&gt;
{&lt;br /&gt;
energy = h_erg*c/wavelength;&lt;br /&gt;
return energy;&lt;br /&gt;
}&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
&lt;br /&gt;
variable wavelength_range = [99., 1e-21];&lt;br /&gt;
variable plotwidth = 30;&lt;br /&gt;
variable wavecol = &amp;quot;black&amp;quot;;&lt;br /&gt;
variable freqcol=&amp;quot;black&amp;quot;; variable energycol = &amp;quot;black&amp;quot;; variable energycol2 = &amp;quot;black&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
variable spectrum = xfig_plot_new(plotwidth,20);&lt;br /&gt;
&lt;br /&gt;
spectrum.world(0,20,0,20);&lt;br /&gt;
spectrum.x1axis(;off);spectrum.x2axis(;off);spectrum.y1axis(;off);spectrum.y2axis(;off);&lt;br /&gt;
&lt;br /&gt;
variable wave = xfig_plot_new(plotwidth,1);&lt;br /&gt;
wave.world(wavelength_range[0],wavelength_range[1],0,1; color=wavecol);&lt;br /&gt;
wave.y1axis(;off); wave.y2axis(;off);wave.x2axis(;off);&lt;br /&gt;
wave.xlabel(&amp;quot;$\lambda$ [m]&amp;quot;R; color= wavecol);&lt;br /&gt;
variable major_ticks = [wavelength_range[1]:0:100];&lt;br /&gt;
variable minor_ticks= [0:wavelength_range[1]:5];&lt;br /&gt;
&lt;br /&gt;
wave.x1axis(;log, color =wavecol, ticlabel_color=wavecol, major=major_ticks);&lt;br /&gt;
%if (give_wavelength!=NULL){wave.plot(give_wavelength, 0.1;sym=&amp;quot;+&amp;quot;, symcolor=&amp;quot;gray&amp;quot;);&lt;br /&gt;
%wave.xylabel(give_wavelength, 0.5, sprintf(&amp;quot;%.2e\n&amp;quot;,give_wavelength); color=&amp;quot;gray&amp;quot;);}&lt;br /&gt;
%if (give_frequency!=NULL){wave.plot(frequency2wavelength(give_frequency), 0.1;sym=&amp;quot;+&amp;quot;, symcolor=&amp;quot;gray&amp;quot;);&lt;br /&gt;
%wave.xylabel(frequency2wavelength(give_frequency), 0.5, sprintf(&amp;quot;%.2e\n&amp;quot;,frequency2wavelength(give_frequency)); color=&amp;quot;gray&amp;quot;);}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
wave.plot([wavelength_range[0], 10*10^-3], [1, 1];color=&amp;quot;goldenrod&amp;quot;,forward_arrow, backward_arrow);&lt;br /&gt;
wave.xylabel(1,1.4, &amp;quot;RADIO&amp;quot;; color=&amp;quot;goldenrod&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
wave.add_object(xfig_new_polyline([10*10^-3,300*10^-6 ], [1, 1];forward_arrow, backward_arrow, color=&amp;quot;orange2&amp;quot;),&lt;br /&gt;
[10*10^-3,300*10^-6 ], [1, 1]) ; wave.xylabel(1.5*10^-3,1.4, &amp;quot;MICROWAVE&amp;quot;; color=&amp;quot;orange2&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
wave.add_object(xfig_new_polyline([300*10^-6, 750*10^-9], [1, 1];forward_arrow, backward_arrow, color=&amp;quot;red2&amp;quot;), &lt;br /&gt;
[300*10^-6, 750*10^-9], [1, 1]); wave.xylabel(10^-5,1.4, &amp;quot;IR&amp;quot;; color=&amp;quot;red2&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
wave.add_object(xfig_new_polyline([750*10^-9, 390*10^-9], [1, 1]; forward_arrow, backward_arrow,color=&amp;quot;purple&amp;quot;),&lt;br /&gt;
[750*10^-9, 390*10^-9], [1, 1]) ; wave.xylabel(550*10^-9,1.4, &amp;quot;OP&amp;quot;; color=&amp;quot;purple&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
wave.add_object(xfig_new_polyline([390*10^-9, 10^-8], [1, 1]; forward_arrow, backward_arrow,color=&amp;quot;blue4&amp;quot;),&lt;br /&gt;
[390*10^-9, 10^-8], [1, 1]) ; wave.xylabel(5*10^-8,1.4, &amp;quot;UV&amp;quot;; color=&amp;quot;blue4&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
wave.add_object(xfig_new_polyline([10^-8, 100*10^-12], [1, 1]; forward_arrow, backward_arrow, color=&amp;quot;dodgerblue&amp;quot;), &lt;br /&gt;
[10^-8, 100*10^-12], [1, 1]); wave.xylabel(10*10^-10,1.4, &amp;quot;soft&amp;quot;; color=&amp;quot;dodgerblue&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
wave.add_object(xfig_new_polyline([100*10^-12, 10*10^-12], [1, 1]; forward_arrow, backward_arrow,color=&amp;quot;teal&amp;quot;), &lt;br /&gt;
[100*10^-12, 10*10^-12], [1, 1]); wave.xylabel(35*10^-12,1.4, &amp;quot;hard X-rays&amp;quot;; color=&amp;quot;teal&amp;quot;);&lt;br /&gt;
wave.add_object(xfig_new_polyline([10*10^-12, wavelength_range[1]], [1, 1]; forward_arrow, backward_arrow, color=&amp;quot;forestgreen&amp;quot;), &lt;br /&gt;
[10*10^-12, wavelength_range[1]], [1, 1]);&lt;br /&gt;
wave.xylabel(10^-15,1.4, &amp;quot;$\gamma$-rays&amp;quot;R; color=&amp;quot;forestgreen&amp;quot;);&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
spectrum.add_object(wave, 0 , 0 , 0 , 0);&lt;br /&gt;
%%%%&lt;br /&gt;
variable energy_range = xfig_plot_new(plotwidth,1);&lt;br /&gt;
energy_range.world(wavelength2energy_eV(wavelength_range[0]),wavelength2energy_eV(wavelength_range[1]),0,1; color=energycol);&lt;br /&gt;
energy_range.x1axis(;log, color=energycol, ticlabel_color=energycol); energy_range.y1axis(;off); energy_range.y2axis(;off);energy_range.x2axis(;off);&lt;br /&gt;
energy_range.xlabel(&amp;quot;E [eV]&amp;quot;R; color=energycol);&lt;br /&gt;
%if (give_wavelength!=NULL){energy_range.plot(wavelength2energy_eV(give_wavelength), 0.1;sym=&amp;quot;+&amp;quot;, symcolor=&amp;quot;gray&amp;quot;);&lt;br /&gt;
%energy_range.xylabel(wavelength2energy_eV(give_wavelength), 0.5, sprintf(&amp;quot;%.2e\n&amp;quot;,wavelength2energy_eV(give_wavelength)); color=&amp;quot;gray&amp;quot;);&lt;br /&gt;
%}&lt;br /&gt;
spectrum.add_object(energy_range, 0, 0, 0 , 1;depth=50);&lt;br /&gt;
&lt;br /&gt;
% variable energy_range2 = xfig_plot_new(plotwidth,1);&lt;br /&gt;
% energy_range2.world(wavelength2energy_erg(wavelength_range[0]),wavelength2energy_erg(wavelength_range[1]),0,1; color=energycol2);&lt;br /&gt;
% energy_range2.x1axis(;log, color=energycol2, ticlabel_color=energycol2); energy_range2.y1axis(;off); energy_range2.y2axis(;off);energy_range2.x2axis(;off);&lt;br /&gt;
% energy_range2.xlabel(&amp;quot;E [erg]&amp;quot;R; color=energycol2);&lt;br /&gt;
% if (give_wavelength!=NULL){energy_range2.plot(wavelength2energy_erg(give_wavelength), 0.1;sym=&amp;quot;+&amp;quot;, symcolor=&amp;quot;gray&amp;quot;);&lt;br /&gt;
% energy_range2.xylabel(wavelength2energy_erg(give_wavelength), 0.5, sprintf(&amp;quot;%.2e\n&amp;quot;,wavelength2energy_erg(give_wavelength)); color=&amp;quot;gray&amp;quot;);&lt;br /&gt;
% }&lt;br /&gt;
% spectrum.add_object(energy_range2, 0, 0, 0 , 2);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
% OPTIONAL AXIS&lt;br /&gt;
variable freq = xfig_plot_new(plotwidth,1);&lt;br /&gt;
freq.world(wavelength2frequency(wavelength_range[0]),wavelength2frequency(wavelength_range[1]),0,1; color=freqcol);&lt;br /&gt;
freq.x1axis(;log, color=freqcol, ticlabel_color=freqcol); freq.y1axis(;off); freq.y2axis(;off);freq.x2axis(;off);&lt;br /&gt;
freq.xlabel(&amp;quot;$\nu$ [Hz]&amp;quot;R; color=freqcol);&lt;br /&gt;
%if (give_wavelength!=NULL){freq.plot(wavelength2frequency(give_wavelength), 0.1;sym=&amp;quot;+&amp;quot;, symcolor=&amp;quot;gray&amp;quot;);&lt;br /&gt;
%freq.xylabel(wavelength2frequency(give_wavelength), 0.5, sprintf(&amp;quot;%.2e\n&amp;quot;,wavelength2frequency(give_wavelength)); color=&amp;quot;gray&amp;quot;);}&lt;br /&gt;
%if (give_frequency!=NULL){freq.plot(give_frequency, 0.1;sym=&amp;quot;+&amp;quot;, symcolor=&amp;quot;gray&amp;quot;);&lt;br /&gt;
%freq.xylabel(give_frequency, 0.5, sprintf(&amp;quot;%.2e\n&amp;quot;,give_frequency); color=&amp;quot;gray%&amp;quot;);}&lt;br /&gt;
spectrum.add_object(freq, 0, 0, 0 , 2;depth=50);&lt;br /&gt;
&lt;br /&gt;
%OPTIONAL EMPTY EM SPECTRUM&lt;br /&gt;
%spectrum.render(&amp;quot;spectrum.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%OPTIONAL: HESS ENERGY RANGE&lt;br /&gt;
#iffalse&lt;br /&gt;
%%%%%%%%%%&lt;br /&gt;
% ADD GOOD HESS RANGES!&lt;br /&gt;
variable new = xfig_plot_new(plotwidth,6.5);&lt;br /&gt;
new.world(wavelength2frequency(wavelength_range[0]),wavelength2frequency(wavelength_range[1]),0,4; color=freqcol);&lt;br /&gt;
new.x1axis(;log, color=freqcol, ticlabel_color=freqcol,off); new.y1axis(;off); new.y2axis(;off);new.x2axis(;off);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
variable r_lo = 100e9;&lt;br /&gt;
variable r_hi=100e12;&lt;br /&gt;
new.shade_region(energy2frequency_eV(r_lo),energy2frequency_eV(r_hi),0,0.8;world10, fillcolor=&amp;quot;black&amp;quot;, fill=3,depth=2000);&lt;br /&gt;
spectrum.add_object(new, 0, 0, 0,0.25;depth=100);&lt;br /&gt;
spectrum.render(&amp;quot;spectrum_hess.pdf&amp;quot;);&lt;br /&gt;
#endiffalse&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%&lt;br /&gt;
%NEW! ADD GOOD RANGES!&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% ADD RANGES TANAMI&lt;br /&gt;
%%&lt;br /&gt;
variable new = xfig_plot_new(plotwidth,6.5);&lt;br /&gt;
new.world(wavelength2frequency(wavelength_range[0]),wavelength2frequency(wavelength_range[1]),0,4; color=freqcol);&lt;br /&gt;
new.x1axis(;log, color=freqcol, ticlabel_color=freqcol,off); new.y1axis(;off); new.y2axis(;off);new.x2axis(;off);&lt;br /&gt;
&lt;br /&gt;
variable tan_lo=8.4e9;&lt;br /&gt;
variable tan_hi = 22.3e9;&lt;br /&gt;
new.shade_region((tan_lo), (tan_hi),0,0.8;world10, color=&amp;quot;black&amp;quot;, fill=4,width=0,depth=2000);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% ADD RANGES OPTICAL&lt;br /&gt;
%%&lt;br /&gt;
variable ou_lo = 5468e-10;&lt;br /&gt;
variable ou_hi=1928e-10;&lt;br /&gt;
new.shade_region(wavelength2frequency(ou_lo), wavelength2frequency(ou_hi),0,0.8;world10, width=0,fillcolor=&amp;quot;black&amp;quot;, fill=4,depth=2000);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% ADD RANGES XRT&lt;br /&gt;
%%&lt;br /&gt;
variable x_lo = 0.5e3;&lt;br /&gt;
variable x_hi=10e3;&lt;br /&gt;
&lt;br /&gt;
new.shade_region(energy2frequency_eV(x_lo),energy2frequency_eV(x_hi),0,0.8;world10, width=0,fillcolor=&amp;quot;black&amp;quot;, fill=4,depth=2000);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% ADD RANGES BAT&lt;br /&gt;
%%&lt;br /&gt;
variable x_lob = 15e3;&lt;br /&gt;
variable x_hib=150e3;&lt;br /&gt;
&lt;br /&gt;
new.shade_region(energy2frequency_eV(x_lob),energy2frequency_eV(x_hib),0,0.8;world10, fillcolor=&amp;quot;dodgerblue&amp;quot;, fill=30,width=0,depth=2000);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% ADD RANGES FERMI&lt;br /&gt;
%%&lt;br /&gt;
&lt;br /&gt;
variable f_lo = 20e6;&lt;br /&gt;
variable f_hi=300e9;&lt;br /&gt;
&lt;br /&gt;
new.shade_region(energy2frequency_eV(f_lo),energy2frequency_eV(f_hi),0,0.8;world10, width=0,fill=4,fillcolor=&amp;quot;black&amp;quot;,depth=2000);&lt;br /&gt;
&lt;br /&gt;
spectrum.add_object(new, 0, 0, 0,0.25;depth=100);&lt;br /&gt;
spectrum.render(&amp;quot;spectrum2.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=3D_Maser_Disk_(xfig_example)&amp;diff=1419</id>
		<title>3D Maser Disk (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=3D_Maser_Disk_(xfig_example)&amp;diff=1419"/>
		<updated>2018-05-02T11:27:56Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== 3D Maser Disk ===  &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;); disk_map(&amp;quot;/userdata/data/litzinger/Radio/NGC1194/accel/disk_fitting/fit_disk_v20/jan2615/outjan2715&amp;quot;;projection).render(&amp;quot;d...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== 3D Maser Disk ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
disk_map(&amp;quot;/userdata/data/litzinger/Radio/NGC1194/accel/disk_fitting/fit_disk_v20/jan2615/outjan2715&amp;quot;;projection).render(&amp;quot;disk_map.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1164</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1164"/>
		<updated>2018-04-17T12:38:33Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Hertzsprung-Russell diagram */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Remeis X-fig plot gallery =&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== Color-coded maps with png and xfig ===&lt;br /&gt;
[[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|How to plot a color-coded map (landscape) using png and xfig]]&lt;br /&gt;
&lt;br /&gt;
=== Two-dimensional histograms ===&lt;br /&gt;
&lt;br /&gt;
[[File:banana-plot.png|400px|link=Two-dimensional_histograms_(xfig_example)]] banana-plot with coordinate system —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Chi-squared_parabola_(xfig_example)]] [[File:Chisqr_ellipse.png|200px|link=Chi-squared_contours_(xfig_example)]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Orbit_plot_of_GX_301-2_(xfig_example)]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Color_Landscapes_(xfig_example)]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[Color-coded_maps_with_2d_histograms,_png,_and_xfig_(xfig_example)|an example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Contour_Plot_(xfig_example)]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=2D_Map_SAA_(xfig_example)]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Chandra_Coverage_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. —''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
 &lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Wind_structure_of_Cyg_X-1_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [http://adsabs.harvard.edu/abs/2011PhDT.........9H| Manfred's PhD thesis] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Satellite_Picture_Zoom_(xfig_example)]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Skyplot_of_source_positions_(xfig_example)]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=Periodic_Table_of_the_Elements_(xfig_example)]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Atomic_Processes_(xfig_example)]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Insets_and_shaded_regions_(xfig_example)]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=Hertzsprung-Russell_diagram_(xfig_example)]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Speedometer_Colorplot_(xfig_example)]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Angstrom_to_keV_axis_transformation_(xfig_example)]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Plot_fit_model_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=Chisquared_Distribution_Plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Polar_plot_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Xfig_plot_image_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Xfig_plot_colormap_(xfig_example)]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1163</id>
		<title>Hertzsprung-Russell diagram (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1163"/>
		<updated>2018-04-17T12:34:03Z</updated>

		<summary type="html">&lt;p&gt;Niu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hertzsprung-Russell diagram ==&lt;br /&gt;
[[File:Hr_diagram.png|center|500px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% -------------&lt;br /&gt;
% axes, labels:&lt;br /&gt;
variable xfig = xfig_plot_new(12,9);&lt;br /&gt;
variable xmin = log10(3), xmax = log10(47), ymin = -1., ymax = 7.; % x-axis is in kilo Kelvin&lt;br /&gt;
xfig.world(xmax, xmin, ymin, ymax);&lt;br /&gt;
xfig.axis(; ticlabels2=0, ticlabels_confine=0);&lt;br /&gt;
variable xmajor = log10([5:45:5]);&lt;br /&gt;
variable xminor = log10([1:50:1]);&lt;br /&gt;
variable x2major = [ymin:ymax:0.1];&lt;br /&gt;
variable x2minor = [ymin:ymax:0.02];&lt;br /&gt;
xfig.axis(; depth=0, tic_depth=0, ticlabels_confine=0);&lt;br /&gt;
xfig.x1axis(; ticlabels=[&amp;quot;O&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;A&amp;quot;,&amp;quot;F&amp;quot;,&amp;quot;G&amp;quot;,&amp;quot;K&amp;quot;,&amp;quot;M&amp;quot;], major=log10([32,18,10,7,5.5,4.25,3.25]), major_width=0);&lt;br /&gt;
xfig.xlabel(&amp;quot;Spectral class&amp;quot;);&lt;br /&gt;
xfig.x2axis(; ticlabels=[&amp;quot;5&amp;quot;,&amp;quot;10&amp;quot;,&amp;quot;15&amp;quot;,&amp;quot;20&amp;quot;,&amp;quot;25&amp;quot;,&amp;quot;30&amp;quot;,&amp;quot;35&amp;quot;,&amp;quot;40&amp;quot;,&amp;quot;45&amp;quot;R], major=xmajor, minor=xminor, format=&amp;quot;%.0f&amp;quot;);&lt;br /&gt;
xfig.x2label(&amp;quot;$T_{\mathrm{eff}}\,(10^3\,\mathrm{K})$&amp;quot;R);&lt;br /&gt;
xfig.y2axis(; ticlabels=0);&lt;br /&gt;
xfig.ylabel(&amp;quot;$\log (L/{L}_{\odot})$&amp;quot;R);&lt;br /&gt;
% -------------&lt;br /&gt;
% --------------------&lt;br /&gt;
% evolutionary tracks:&lt;br /&gt;
% from Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
variable tracks = struct{ m1, m3, m7, m20 };&lt;br /&gt;
tracks.m1 = struct{ log_teff, log_l }; % track for 1 solar mass&lt;br /&gt;
tracks.m3 = struct{ log_teff, log_l }; % track for 3 solar mass&lt;br /&gt;
tracks.m7 = struct{ log_teff, log_l }; % track for 7 solar mass&lt;br /&gt;
tracks.m20 = struct{ log_teff, log_l }; % track for 20 solar mass&lt;br /&gt;
tracks.m1.log_teff = [3.754330, 3.755300, 3.755330, 3.755400, 3.755480, 3.755580, 3.755700, 3.755810, 3.755940, 3.756070, 3.756190, 3.756330, 3.756470, 3.756610, 3.756730, 3.756860, 3.757000, 3.757150, 3.757270, 3.757420, 3.757570, 3.757700, 3.757850, 3.757980, 3.758140, 3.758270, 3.758420, 3.758580, 3.758710, 3.758870, 3.759000, 3.759140, 3.759290, 3.759430, 3.759610, 3.759770, 3.759930, 3.760120, 3.760280, 3.760440, 3.760600, 3.760780, 3.760940, 3.761100, 3.761250, 3.761410, 3.761560, 3.761670, 3.761800, 3.761950, 3.762060, 3.762180, 3.762300, 3.762410, 3.762520, 3.762620, 3.762750, 3.762820, 3.762880, 3.762950, 3.763020, 3.763080, 3.763140, 3.763190, 3.763240, 3.763290, 3.763330, 3.763370, 3.763400, 3.763430, 3.763450, 3.763470, 3.763480, 3.763490, 3.763480, 3.763470, 3.763450, 3.763410, 3.763360, 3.763290, 3.763220, 3.763140, 3.763040, 3.762940, 3.762850, 3.762800, 3.762770, 3.762750, 3.762730, 3.762680, 3.762650, 3.762630, 3.762610, 3.762560, 3.762530, 3.762480, 3.762460, 3.762410, 3.762390, 3.762350, 3.762300, 3.762280, 3.762230, 3.762180, 3.762120, 3.762070, 3.762010, 3.761920, 3.761860, 3.761740, 3.761640, 3.761580, 3.761520, 3.761450, 3.761440, 3.761400, 3.761350, 3.761300, 3.761230, 3.761170, 3.761100, 3.761030, 3.760930, 3.760850, 3.760760, 3.760650, 3.760490, 3.760360, 3.760230, 3.760080, 3.759870, 3.759710, 3.759530, 3.759340, 3.759070, 3.758850, 3.758620, 3.758370, 3.758020, 3.757730, 3.757430, 3.757110, 3.756620, 3.756230, 3.755810, 3.755370, 3.754740, 3.754240, 3.753690, 3.753120, 3.752290, 3.751620, 3.750900, 3.750130, 3.749010, 3.748020, 3.746900, 3.745720, 3.743960, 3.742490, 3.740860, 3.739060, 3.737080, 3.734070, 3.731440, 3.728450, 3.724750, 3.718820, 3.713870, 3.709260, 3.703280, 3.697400, 3.692710, 3.688030, 3.684480, 3.682560, 3.680620, 3.678870, 3.677430, 3.676030, 3.674470, 3.672500, 3.670030, 3.667120, 3.663040, 3.656530, 3.647770, 3.646700, 3.626800, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410];&lt;br /&gt;
tracks.m1.log_l = [-0.138050, -0.129380, -0.126810, -0.124360, -0.122260, -0.119770, -0.117260, -0.114720, -0.112130, -0.109510, -0.107250, -0.104540, -0.101830, -0.099090, -0.096690, -0.093890, -0.091050, -0.088180, -0.085690, -0.082760, -0.079800, -0.077230, -0.074220, -0.071610, -0.068540, -0.065890, -0.062750, -0.059600, -0.056880, -0.053670, -0.050910, -0.048120, -0.044830, -0.042000, -0.038660, -0.035760, -0.032850, -0.029430, -0.026470, -0.023490, -0.020480, -0.016960, -0.013920, -0.010850, -0.007770, -0.004660, -0.001540, 0.001590, 0.004760, 0.008470, 0.011680, 0.014910, 0.018160, 0.020890, 0.024180, 0.027500, 0.030830, 0.034170, 0.037550, 0.040950, 0.044380, 0.047800, 0.051270, 0.054190, 0.057710, 0.061270, 0.064840, 0.068450, 0.072080, 0.075120, 0.078800, 0.082480, 0.086200, 0.089300, 0.093030, 0.096140, 0.099880, 0.102980, 0.106070, 0.109160, 0.112220, 0.115260, 0.118280, 0.121310, 0.123730, 0.124950, 0.125560, 0.126180, 0.126790, 0.128040, 0.128660, 0.129290, 0.129920, 0.131190, 0.131840, 0.133140, 0.133800, 0.135130, 0.135810, 0.137170, 0.138550, 0.139250, 0.140630, 0.142070, 0.144260, 0.145740, 0.148010, 0.151080, 0.153420, 0.157380, 0.160590, 0.163010, 0.165420, 0.167860, 0.171150, 0.173650, 0.176170, 0.178710, 0.182130, 0.184720, 0.187330, 0.189970, 0.193520, 0.196210, 0.198920, 0.201650, 0.205330, 0.208130, 0.210940, 0.213780, 0.217610, 0.220520, 0.223440, 0.226400, 0.230380, 0.233390, 0.236430, 0.239500, 0.243630, 0.246750, 0.249900, 0.253070, 0.257320, 0.260540, 0.263770, 0.267020, 0.271370, 0.274650, 0.277930, 0.281210, 0.285580, 0.288840, 0.292080, 0.295300, 0.299510, 0.302540, 0.305550, 0.308480, 0.312160, 0.314740, 0.317060, 0.319060, 0.320830, 0.322500, 0.322870, 0.322620, 0.321470, 0.318760, 0.316620, 0.315640, 0.317440, 0.324700, 0.337600, 0.362110, 0.393770, 0.418910, 0.461060, 0.504440, 0.550130, 0.604380, 0.664270, 0.729320, 0.807500, 0.897740, 1.007900, 1.152030, 1.342320, 1.390360, 1.719880, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140];&lt;br /&gt;
tracks.m3.log_teff = [4.104477, 4.101130, 4.098784, 4.096932, 4.095520, 4.094152, 4.092906, 4.091568, 4.090532, 4.089462, 4.088575, 4.087603, 4.086631, 4.085654, 4.084584, 4.083618, 4.082794, 4.081863, 4.080880, 4.079909, 4.078954, 4.077811, 4.076814, 4.075977, 4.074953, 4.073932, 4.072905, 4.071846, 4.070604, 4.069515, 4.068425, 4.067474, 4.066353, 4.065180, 4.063810, 4.062611, 4.061387, 4.060169, 4.058875, 4.057809, 4.056518, 4.054984, 4.053684, 4.052311, 4.050895, 4.049511, 4.048311, 4.046844, 4.045140, 4.043617, 4.042110, 4.040580, 4.038967, 4.037586, 4.035944, 4.034328, 4.032409, 4.030733, 4.028975, 4.027469, 4.025674, 4.023859, 4.022054, 4.019996, 4.018106, 4.016439, 4.014562, 4.012628, 4.010719, 4.008746, 4.006818, 4.004866, 4.002865, 4.000890, 3.998964, 3.997042, 3.995170, 3.993303, 3.991514, 3.989837, 3.988263, 3.986853, 3.985639, 3.984805, 3.984479, 3.984499, 3.984547, 3.984648, 3.984781, 3.984972, 3.985252, 3.985549, 3.985906, 3.986334, 3.986842, 3.987464, 3.988192, 3.989086, 3.990155, 3.991399, 3.992620, 3.994326, 3.996373, 3.998494, 4.001379, 4.005055, 4.009778, 4.015627, 4.024013, 4.035578, 4.027620, 4.019198, 4.014199, 4.010884, 4.008090, 4.005473, 4.003593, 4.001870, 3.999673, 3.998636, 3.996650, 3.995367, 3.992839, 3.991586, 3.990325, 3.988684, 3.987023, 3.985322, 3.983579, 3.981786, 3.981786, 3.979712, 3.977541, 3.975261, 3.972866, 3.970342, 3.970342, 3.967673, 3.964838, 3.961813, 3.958571, 3.955076, 3.955076, 3.952064, 3.948853, 3.941737, 3.937805, 3.933549, 3.928990, 3.924054, 3.918705, 3.912862, 3.907195, 3.901103, 3.894541, 3.887346, 3.879446, 3.861010, 3.850280, 3.838353, 3.824996, 3.807248, 3.797427, 3.777874, 3.762034, 3.748710, 3.736734, 3.724115, 3.715732, 3.707236, 3.696032, 3.686913, 3.681703, 3.677099, 3.672587, 3.668592, 3.665801, 3.663002, 3.659846, 3.657180, 3.654128, 3.651128, 3.648095, 3.645231, 3.642391, 3.639711, 3.637484, 3.634593, 3.632145, 3.635666, 3.641828, 3.643987, 3.646684, 3.649874, 3.652920, 3.657066, 3.660748, 3.664139, 3.667093, 3.671135, 3.674116, 3.678197, 3.680127, 3.682554, 3.684970, 3.687178, 3.688573, 3.690152, 3.693206, 3.695129, 3.696329, 3.697237, 3.697691, 3.697918, 3.697847, 3.697883, 3.697758, 3.697609, 3.697464, 3.697333, 3.697136, 3.697183, 3.697142, 3.697143, 3.697211, 3.697227, 3.697261, 3.697284, 3.697322, 3.697328, 3.697378, 3.697393, 3.697317, 3.697438, 3.697463, 3.697494, 3.697490, 3.697448, 3.697510, 3.697517, 3.697539, 3.697554, 3.697560, 3.697585, 3.697587, 3.697635, 3.697641, 3.697657, 3.697695, 3.697711, 3.697749, 3.697767, 3.697795, 3.697817, 3.697833, 3.697856, 3.697868, 3.697910, 3.697926, 3.697937, 3.697953, 3.697917, 3.697939, 3.697946, 3.698006, 3.697967, 3.697968, 3.697975, 3.697975, 3.697966, 3.697966, 3.698002, 3.698044, 3.698057, 3.698066, 3.698132, 3.698023, 3.698025, 3.697961, 3.698303, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.697860, 3.697296, 3.697150, 3.696984, 3.696565, 3.696449, 3.696182, 3.695561, 3.695231, 3.694880, 3.694011, 3.693476, 3.692530, 3.691571, 3.690567, 3.688184, 3.686590, 3.684183, 3.680467, 3.664628];&lt;br /&gt;
tracks.m3.log_l = [1.898976, 1.898157, 1.900368, 1.903228, 1.906229, 1.909473, 1.912669, 1.915631, 1.919331, 1.922666, 1.926119, 1.929846, 1.933160, 1.936508, 1.940077, 1.943397, 1.946812, 1.950456, 1.953744, 1.956987, 1.960515, 1.963574, 1.966817, 1.970432, 1.973557, 1.976631, 1.980111, 1.983128, 1.986004, 1.989179, 1.992273, 1.995433, 1.998425, 2.001378, 2.004035, 2.006924, 2.009910, 2.012560, 2.015303, 2.018372, 2.020963, 2.023431, 2.026095, 2.028576, 2.031044, 2.033705, 2.036241, 2.038570, 2.040540, 2.043114, 2.045241, 2.047596, 2.049719, 2.051901, 2.054142, 2.056032, 2.057709, 2.059767, 2.061599, 2.063530, 2.065377, 2.067040, 2.068619, 2.070105, 2.071634, 2.073346, 2.074828, 2.076166, 2.077634, 2.078898, 2.080094, 2.081460, 2.082636, 2.083775, 2.085083, 2.086236, 2.087446, 2.088730, 2.089970, 2.091433, 2.092853, 2.094588, 2.096468, 2.098816, 2.101593, 2.102334, 2.102991, 2.103922, 2.104768, 2.105640, 2.106693, 2.107692, 2.108753, 2.109920, 2.111194, 2.112641, 2.114297, 2.116148, 2.118172, 2.120395, 2.122534, 2.125387, 2.128790, 2.132439, 2.137256, 2.142846, 2.150769, 2.160729, 2.175909, 2.197592, 2.175125, 2.185301, 2.197447, 2.202487, 2.205639, 2.208038, 2.209410, 2.210467, 2.211650, 2.212162, 2.213094, 2.213552, 2.214353, 2.214709, 2.215033, 2.215437, 2.215775, 2.216047, 2.216275, 2.216510, 2.216510, 2.216610, 2.216638, 2.216595, 2.216464, 2.216231, 2.216231, 2.215881, 2.215414, 2.214775, 2.213947, 2.212979, 2.212979, 2.211950, 2.210762, 2.207781, 2.205965, 2.203840, 2.201414, 2.198580, 2.195333, 2.191549, 2.187744, 2.183283, 2.178384, 2.172654, 2.165949, 2.149017, 2.138421, 2.126120, 2.111449, 2.090319, 2.077763, 2.047863, 2.010163, 1.962986, 1.910611, 1.839891, 1.803651, 1.793080, 1.821048, 1.881206, 1.940541, 1.987798, 2.033413, 2.077010, 2.113085, 2.150113, 2.187340, 2.223158, 2.261067, 2.296868, 2.333229, 2.370631, 2.407406, 2.441670, 2.479107, 2.513618, 2.542172, 2.501533, 2.418088, 2.390079, 2.357468, 2.324004, 2.289329, 2.246575, 2.195523, 2.155987, 2.112991, 2.068237, 2.034009, 1.994281, 1.971123, 1.949987, 1.930177, 1.912312, 1.904220, 1.896871, 1.889495, 1.888052, 1.888889, 1.890312, 1.891323, 1.892204, 1.892774, 1.893772, 1.894377, 1.895038, 1.895777, 1.896499, 1.897036, 1.898205, 1.899111, 1.900117, 1.901103, 1.902077, 1.902980, 1.904079, 1.904962, 1.905917, 1.906815, 1.907734, 1.908249, 1.909652, 1.910666, 1.911600, 1.912941, 1.913630, 1.914763, 1.915684, 1.916661, 1.917600, 1.918530, 1.919604, 1.920576, 1.921636, 1.922639, 1.923660, 1.925384, 1.926319, 1.927370, 1.928294, 1.929379, 1.930928, 1.932756, 1.933701, 1.934644, 1.938850, 1.939751, 1.940648, 1.941545, 1.942451, 1.943542, 1.944417, 1.945651, 1.946251, 1.947151, 1.948034, 1.948879, 1.949817, 1.950968, 1.952394, 1.953985, 1.955612, 1.957425, 1.961586, 1.962245, 1.963240, 1.964008, 1.978211, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.984200, 1.993446, 1.997043, 2.000126, 2.007648, 2.010280, 2.012891, 2.019092, 2.020792, 2.024098, 2.028754, 2.030630, 2.034344, 2.034319, 2.035530, 2.044368, 2.048004, 2.053374, 2.067782, 2.196314];&lt;br /&gt;
tracks.m7.log_teff = [4.332096, 4.328320, 4.326038, 4.324511, 4.323259, 4.322116, 4.321212, 4.320357, 4.319573, 4.318899, 4.318188, 4.317513, 4.316760, 4.316124, 4.315453, 4.314796, 4.314137, 4.313486, 4.312861, 4.312146, 4.311447, 4.310766, 4.310062, 4.309355, 4.308616, 4.307887, 4.307114, 4.306342, 4.305527, 4.304748, 4.303917, 4.303072, 4.302205, 4.301346, 4.300464, 4.299560, 4.298623, 4.297675, 4.296707, 4.295747, 4.294726, 4.293709, 4.292675, 4.291631, 4.290535, 4.289442, 4.288291, 4.287137, 4.285987, 4.284830, 4.283688, 4.282377, 4.281137, 4.279848, 4.278558, 4.277258, 4.275919, 4.274649, 4.273265, 4.271796, 4.270365, 4.268891, 4.267504, 4.266029, 4.264506, 4.262972, 4.261453, 4.259881, 4.258287, 4.256736, 4.255117, 4.253564, 4.251932, 4.250330, 4.248753, 4.247167, 4.245650, 4.244133, 4.242741, 4.241340, 4.240085, 4.239005, 4.238083, 4.237530, 4.237449, 4.237502, 4.237544, 4.237651, 4.237784, 4.237949, 4.238114, 4.238347, 4.238624, 4.238950, 4.239345, 4.239774, 4.240287, 4.240864, 4.241547, 4.242350, 4.243391, 4.244668, 4.245955, 4.247738, 4.249902, 4.252660, 4.256188, 4.261033, 4.268576, 4.278758, 4.276700, 4.271091, 4.264163, 4.257535, 4.251551, 4.246792, 4.242080, 4.238544, 4.233549, 4.230376, 4.227304, 4.222256, 4.218787, 4.215385, 4.213696, 4.210338, 4.206665, 4.202654, 4.198614, 4.196575, 4.192425, 4.188184, 4.186028, 4.181635, 4.177107, 4.174761, 4.169952, 4.167482, 4.162382, 4.157073, 4.154295, 4.148542, 4.142472, 4.139310, 4.132646, 4.125541, 4.121834, 4.114001, 4.105536, 4.101063, 4.091519, 4.081102, 4.075528, 4.063547, 4.050320, 4.043161, 4.030129, 4.018452, 3.998943, 3.984378, 3.968375, 3.943353, 3.921980, 3.891749, 3.865308, 3.826374, 3.779667, 3.725678, 3.681198, 3.656651, 3.641506, 3.627405, 3.613375, 3.607156, 3.604405, 3.602538, 3.601806, 3.599727, 3.599603, 3.600013, 3.599306, 3.598872, 3.597960, 3.597543, 3.597011, 3.596631, 3.596427, 3.596191, 3.595973, 3.595834, 3.597160, 3.598375, 3.599965, 3.600833, 3.600831, 3.601515, 3.602871, 3.605483, 3.606549, 3.605555, 3.607951, 3.610090, 3.611943, 3.613236, 3.614876, 3.616421, 3.617434, 3.618779, 3.621073, 3.622618, 3.622776, 3.623235, 3.623353, 3.623821, 3.623997, 3.624226, 3.625528, 3.625735, 3.625954, 3.626158, 3.626497, 3.626846, 3.627171, 3.627456, 3.627730, 3.627993, 3.628300, 3.628602, 3.628912, 3.629263, 3.630437, 3.630933, 3.631360, 3.631842, 3.632390, 3.633723, 3.634783, 3.665681, 3.683321, 3.703236, 3.723511, 3.739929, 3.752854, 3.762691, 3.771399, 3.778577, 3.785004, 3.790939, 3.796565, 3.802501, 3.807311, 3.811833, 3.815278, 3.818532, 3.876135, 3.877868, 3.879691, 3.881684, 3.883706, 3.886060, 3.887932, 3.890105, 3.892588, 3.894283, 3.895841, 3.897358, 3.898810, 3.900199, 3.901722, 3.903171, 3.904857, 3.906437, 3.908123, 3.909673, 3.912379, 3.913959, 3.915249, 3.916732, 3.918209, 3.966178, 3.966115, 3.965955, 3.965722, 3.965449, 3.965165, 3.964824, 3.964451, 3.964058, 3.963271, 3.963075, 3.962749, 3.962339, 3.961805, 3.961155, 3.960438, 3.959722, 3.959019, 3.958136, 3.957191, 3.956146, 3.955251, 3.954283, 3.953136, 3.951916, 3.950582, 3.949186, 3.947747, 3.946258, 3.944704, 3.943043, 3.941355, 3.939590, 3.937691, 3.935705, 3.933664, 3.931502, 3.929228, 3.926949, 3.924556, 3.922072, 3.919503, 3.916736, 3.913864, 3.910855, 3.907689, 3.904399, 3.900891, 3.897316, 3.893520, 3.889467, 3.885164, 3.880593, 3.875572, 3.870274, 3.864655, 3.858520, 3.851880, 3.844598, 3.836846, 3.827031, 3.816640, 3.804874, 3.791261, 3.774941, 3.754821, 3.729229, 3.695042, 3.659592, 3.643731, 3.627150, 3.626133, 3.625057, 3.624490, 3.623345, 3.622775, 3.621631, 3.621054, 3.619903, 3.619290, 3.618071, 3.617455, 3.616156, 3.614861, 3.614229, 3.612866, 3.612142, 3.610937, 3.610142, 3.610602, 3.602978];&lt;br /&gt;
tracks.m7.log_l = [3.220316, 3.222236, 3.225934, 3.229981, 3.234307, 3.238596, 3.242995, 3.247321, 3.251924, 3.256357, 3.260792, 3.265291, 3.269632, 3.274029, 3.278296, 3.282821, 3.286990, 3.291400, 3.295676, 3.299967, 3.304149, 3.308462, 3.312527, 3.316832, 3.320878, 3.325039, 3.329032, 3.333184, 3.337169, 3.341168, 3.345029, 3.349119, 3.352956, 3.356905, 3.360594, 3.364509, 3.368194, 3.372097, 3.375746, 3.379510, 3.383115, 3.386828, 3.390284, 3.393923, 3.397403, 3.400997, 3.404437, 3.407898, 3.411295, 3.414547, 3.418016, 3.421233, 3.424598, 3.427808, 3.431126, 3.434182, 3.437394, 3.440545, 3.443572, 3.446675, 3.449643, 3.452622, 3.455812, 3.458679, 3.461540, 3.464590, 3.467340, 3.470130, 3.472974, 3.475755, 3.478522, 3.481117, 3.484004, 3.486664, 3.489290, 3.491944, 3.494787, 3.497446, 3.500011, 3.502895, 3.505690, 3.508442, 3.511563, 3.514660, 3.517971, 3.518808, 3.519594, 3.520310, 3.521011, 3.521737, 3.522363, 3.523141, 3.523951, 3.524827, 3.525737, 3.526626, 3.527718, 3.528864, 3.529965, 3.531167, 3.532609, 3.534299, 3.535914, 3.538223, 3.540880, 3.544190, 3.548222, 3.554541, 3.565152, 3.583014, 3.576169, 3.563020, 3.554800, 3.556295, 3.564870, 3.573734, 3.582066, 3.587452, 3.593816, 3.597135, 3.599927, 3.603747, 3.605914, 3.607810, 3.608631, 3.610085, 3.611448, 3.612663, 3.613631, 3.614050, 3.614736, 3.615239, 3.615435, 3.615717, 3.615799, 3.615779, 3.615642, 3.615516, 3.615084, 3.614467, 3.614084, 3.613218, 3.612078, 3.611389, 3.609764, 3.607780, 3.606682, 3.604167, 3.601164, 3.599452, 3.595528, 3.590906, 3.588274, 3.582331, 3.575291, 3.571276, 3.563641, 3.556470, 3.543681, 3.533634, 3.522214, 3.503631, 3.486943, 3.462564, 3.440832, 3.408274, 3.368361, 3.318280, 3.239048, 3.170775, 3.203994, 3.295598, 3.433337, 3.496761, 3.530118, 3.551234, 3.561025, 3.575027, 3.587653, 3.598804, 3.611776, 3.618321, 3.631116, 3.636021, 3.645658, 3.653961, 3.659961, 3.663939, 3.667343, 3.669468, 3.652996, 3.633136, 3.615651, 3.603901, 3.591752, 3.576569, 3.562458, 3.550026, 3.537842, 3.523101, 3.509558, 3.495461, 3.483123, 3.474772, 3.467494, 3.461328, 3.455866, 3.452826, 3.448147, 3.447262, 3.447461, 3.447566, 3.447692, 3.448052, 3.448105, 3.448606, 3.450289, 3.450684, 3.451125, 3.451498, 3.452573, 3.453145, 3.453837, 3.454481, 3.455146, 3.455889, 3.456769, 3.457614, 3.458545, 3.459693, 3.463869, 3.465136, 3.466698, 3.468591, 3.470875, 3.477056, 3.480336, 3.567194, 3.579202, 3.588661, 3.595847, 3.601208, 3.605330, 3.608748, 3.611829, 3.614628, 3.617675, 3.620322, 3.623573, 3.626370, 3.628592, 3.631104, 3.633412, 3.634879, 3.667375, 3.668497, 3.669818, 3.671017, 3.672650, 3.673945, 3.675235, 3.676565, 3.678166, 3.679165, 3.680143, 3.681254, 3.682227, 3.683366, 3.684341, 3.685334, 3.686696, 3.687644, 3.689088, 3.689945, 3.692384, 3.693152, 3.693934, 3.695269, 3.696366, 3.726207, 3.726218, 3.726268, 3.726353, 3.726449, 3.726525, 3.726563, 3.726617, 3.726728, 3.727225, 3.727205, 3.727169, 3.727039, 3.726874, 3.726738, 3.726605, 3.726719, 3.726471, 3.726221, 3.725983, 3.725856, 3.725869, 3.725482, 3.725105, 3.724742, 3.724375, 3.723998, 3.723633, 3.723204, 3.722754, 3.722301, 3.721821, 3.721268, 3.720674, 3.719999, 3.719381, 3.718731, 3.717999, 3.717337, 3.716520, 3.715740, 3.714836, 3.713875, 3.712960, 3.711882, 3.710743, 3.709566, 3.708307, 3.707170, 3.705678, 3.704111, 3.702612, 3.700703, 3.698742, 3.696672, 3.694619, 3.692034, 3.689234, 3.686435, 3.682163, 3.677869, 3.673341, 3.667844, 3.661392, 3.653430, 3.643164, 3.629464, 3.608824, 3.573459, 3.518706, 3.465240, 3.465535, 3.466360, 3.466996, 3.468742, 3.469831, 3.472490, 3.474027, 3.477530, 3.480029, 3.484467, 3.486669, 3.492091, 3.497817, 3.500731, 3.507212, 3.510760, 3.518050, 3.523789, 3.538654, 3.590785];&lt;br /&gt;
tracks.m20.log_teff = [4.553253, 4.549346, 4.547174, 4.545685, 4.544487, 4.543546, 4.542704, 4.541930, 4.541199, 4.540501, 4.539833, 4.539180, 4.538523, 4.537867, 4.537208, 4.536548, 4.535864, 4.535171, 4.534479, 4.533819, 4.533099, 4.532349, 4.531685, 4.530858, 4.530091, 4.529258, 4.528381, 4.527510, 4.526607, 4.525624, 4.524617, 4.523586, 4.522501, 4.521398, 4.520290, 4.519143, 4.517971, 4.516772, 4.515485, 4.514221, 4.512837, 4.511507, 4.510101, 4.508667, 4.507198, 4.505676, 4.504136, 4.502523, 4.500856, 4.499166, 4.497491, 4.495733, 4.493921, 4.492090, 4.490113, 4.488147, 4.486238, 4.484147, 4.482163, 4.479980, 4.477843, 4.475607, 4.473299, 4.471034, 4.468654, 4.466329, 4.463757, 4.461328, 4.458638, 4.456110, 4.453542, 4.450639, 4.447997, 4.445199, 4.442406, 4.439610, 4.436652, 4.433856, 4.430981, 4.428301, 4.425631, 4.423303, 4.421079, 4.419665, 4.417133, 4.417171, 4.417249, 4.417350, 4.417494, 4.417629, 4.417839, 4.418064, 4.418213, 4.418508, 4.418812, 4.419100, 4.419612, 4.420245, 4.420835, 4.421696, 4.422720, 4.423804, 4.424998, 4.426548, 4.428610, 4.431079, 4.434245, 4.438862, 4.446238, 4.466819, 4.466818, 4.466795, 4.466869, 4.466593, 4.465954, 4.464978, 4.463753, 4.460943, 4.459266, 4.457600, 4.455811, 4.454226, 4.452252, 4.450122, 4.447809, 4.445428, 4.440841, 4.438668, 4.436202, 4.433690, 4.429020, 4.426507, 4.423976, 4.421396, 4.416259, 4.413662, 4.411091, 4.408434, 4.405806, 4.400451, 4.397710, 4.394906, 4.392073, 4.386325, 4.383410, 4.380459, 4.377478, 4.371463, 4.368414, 4.365331, 4.362171, 4.359369, 4.353332, 4.350270, 4.347179, 4.344057, 4.337768, 4.334598, 4.331373, 4.328118, 4.321521, 4.318163, 4.314773, 4.311343, 4.304390, 4.300861, 4.297283, 4.293637, 4.289962, 4.282533, 4.278783, 4.274971, 4.271118, 4.263665, 4.261759, 4.255988, 4.252112, 4.246432, 4.243446, 4.239031, 4.233549, 4.230085, 4.224989, 4.220862, 4.216878, 4.212944, 4.209174, 4.205576, 4.202151, 4.198862, 4.110521, 4.089470, 4.074724, 4.062205, 4.049360, 4.034826, 4.016791, 3.997607, 3.977317, 3.957115, 3.928374, 3.903048, 3.876210, 3.850041, 3.808092, 3.734719, 3.576925, 3.571743, 3.571057, 3.570602, 3.570459, 3.570285, 3.570244, 3.570004, 3.570037, 3.570028, 3.569749, 3.569502, 3.569621, 3.569551, 3.569749, 3.569678, 3.569698, 3.568869, 3.568953, 3.568850, 3.568921, 3.568871, 3.568696, 3.568741, 3.568656, 3.568812, 3.568712, 3.568734, 3.568659, 3.568854, 3.568885, 3.568692, 3.568926, 3.568882, 3.568797, 3.568945, 3.568887, 3.569005, 3.568945, 3.568872, 3.569075, 3.569540, 3.569856, 3.569869, 3.569758, 3.569846, 3.569960, 3.569608, 3.569670, 3.569800, 3.569511, 3.569921, 3.570298, 3.570322, 3.570332, 3.570586, 3.570489, 3.571143, 3.571122, 3.571005, 3.570983, 3.571283, 3.571207, 3.571646, 3.572005, 3.572294, 3.572640, 3.572454, 3.572985, 3.573242, 3.573122, 3.573409, 3.573730, 3.573847, 3.574047, 3.574057, 3.574320, 3.574750, 3.574671, 3.574629, 3.574749, 3.574825, 3.575110, 3.575288, 3.575142, 3.575135, 3.575430, 3.575209, 3.575085, 3.574964, 3.575442, 3.575474, 3.575504, 3.575606, 3.575859, 3.575655, 3.575990, 3.576159, 3.575925, 3.575717, 3.576006, 3.575427, 3.575602, 3.575647, 3.575675, 3.575689, 3.575680, 3.575821, 3.575970, 3.575801, 3.575997, 3.575863, 3.575829, 3.575950, 3.576194, 3.576241, 3.576257, 3.576189, 3.576174, 3.576303, 3.576327, 3.576308, 3.576258, 3.576341, 3.576527, 3.576310, 3.576297, 3.576468, 3.576551, 3.576468, 3.576504, 3.576346, 3.576391, 3.576517, 3.576198, 3.576264, 3.576354, 3.576364, 3.576172, 3.576042, 3.576061, 3.575789, 3.575548, 3.574428, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.572871];&lt;br /&gt;
tracks.m20.log_l = [4.614872, 4.619018, 4.623463, 4.628064, 4.632737, 4.637466, 4.642282, 4.646902, 4.651751, 4.656385, 4.661088, 4.665791, 4.670511, 4.675113, 4.679815, 4.684374, 4.688887, 4.693485, 4.698080, 4.702542, 4.707066, 4.711544, 4.715935, 4.720303, 4.724738, 4.729042, 4.733292, 4.737656, 4.741863, 4.746114, 4.750368, 4.754505, 4.758829, 4.762955, 4.767060, 4.771277, 4.775252, 4.779310, 4.783414, 4.787365, 4.791604, 4.795450, 4.799393, 4.803348, 4.807345, 4.811222, 4.815075, 4.819143, 4.822897, 4.826832, 4.830508, 4.834208, 4.838174, 4.841852, 4.845683, 4.849399, 4.853005, 4.856893, 4.860380, 4.864053, 4.867646, 4.871420, 4.875058, 4.878547, 4.882123, 4.885772, 4.889355, 4.892642, 4.896518, 4.899881, 4.903175, 4.906892, 4.910362, 4.913800, 4.917309, 4.920896, 4.924358, 4.927805, 4.931261, 4.934769, 4.938316, 4.941806, 4.945487, 4.949152, 4.953346, 4.953955, 4.954392, 4.954824, 4.955324, 4.955727, 4.956250, 4.956724, 4.957139, 4.957825, 4.958402, 4.959010, 4.959752, 4.960451, 4.961028, 4.961796, 4.962637, 4.963474, 4.964382, 4.965509, 4.966926, 4.968583, 4.970716, 4.973939, 4.979591, 5.001445, 5.001124, 5.001037, 5.001511, 5.001620, 5.001418, 5.000994, 5.000533, 4.999532, 4.999009, 4.998868, 4.998832, 4.999701, 5.000112, 5.000569, 5.000940, 5.001460, 5.002370, 5.003414, 5.003940, 5.004542, 5.007079, 5.008093, 5.009222, 5.010330, 5.012720, 5.013875, 5.015108, 5.016161, 5.017312, 5.019459, 5.020446, 5.021411, 5.022304, 5.023958, 5.024722, 5.025430, 5.026101, 5.027445, 5.028046, 5.028629, 5.029155, 5.030731, 5.032783, 5.033671, 5.034464, 5.035161, 5.036341, 5.036911, 5.037367, 5.037756, 5.038404, 5.038645, 5.038963, 5.039237, 5.039694, 5.039913, 5.040099, 5.040396, 5.040617, 5.041060, 5.041325, 5.041635, 5.041972, 5.043553, 5.043777, 5.044529, 5.045130, 5.046146, 5.046747, 5.047740, 5.049107, 5.050077, 5.051664, 5.053038, 5.054470, 5.055889, 5.057324, 5.058754, 5.060176, 5.061554, 5.079041, 5.077968, 5.076456, 5.075491, 5.074597, 5.073595, 5.072307, 5.071644, 5.070583, 5.069726, 5.068636, 5.068058, 5.068567, 5.069077, 5.068065, 5.064140, 5.031244, 5.035243, 5.035701, 5.035921, 5.036062, 5.036010, 5.036046, 5.036147, 5.036309, 5.036548, 5.036525, 5.036667, 5.036822, 5.036834, 5.037020, 5.037013, 5.037229, 5.036882, 5.037137, 5.037262, 5.037391, 5.037315, 5.037339, 5.037681, 5.037828, 5.037975, 5.038057, 5.038071, 5.038007, 5.038149, 5.038147, 5.038148, 5.038245, 5.038156, 5.038130, 5.038445, 5.038370, 5.038665, 5.038515, 5.038405, 5.038626, 5.038808, 5.038602, 5.038637, 5.038637, 5.038579, 5.038594, 5.038617, 5.038437, 5.038473, 5.037165, 5.037742, 5.039143, 5.038086, 5.037764, 5.037443, 5.037571, 5.037662, 5.037592, 5.037355, 5.037118, 5.036936, 5.036902, 5.036804, 5.036570, 5.036718, 5.036260, 5.035812, 5.035607, 5.035755, 5.034917, 5.034217, 5.034203, 5.033397, 5.032968, 5.032967, 5.033404, 5.032948, 5.032644, 5.032308, 5.032250, 5.032060, 5.032566, 5.031949, 5.031713, 5.031621, 5.031498, 5.031133, 5.031457, 5.030324, 5.031045, 5.030560, 5.030498, 5.030130, 5.030258, 5.029916, 5.029750, 5.030537, 5.029141, 5.028812, 5.029400, 5.029178, 5.029342, 5.029554, 5.028975, 5.028874, 5.028878, 5.028918, 5.029124, 5.028626, 5.028719, 5.028838, 5.028839, 5.028714, 5.028546, 5.028391, 5.028626, 5.028693, 5.028537, 5.028599, 5.028749, 5.028970, 5.028942, 5.028997, 5.029142, 5.029036, 5.029335, 5.029563, 5.029759, 5.029464, 5.030334, 5.030595, 5.030709, 5.031510, 5.031447, 5.031968, 5.032612, 5.033531, 5.034031, 5.034918, 5.036393, 5.037789, 5.040777, 5.056702, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.177863];&lt;br /&gt;
variable mass;&lt;br /&gt;
foreach mass (get_struct_field_names(tracks))&lt;br /&gt;
{&lt;br /&gt;
  variable track = get_struct_field(tracks, mass);&lt;br /&gt;
  xfig_plot_text( xfig, sprintf(&amp;quot;$%s\\,M_{\\odot}$&amp;quot;, strreplace(mass,&amp;quot;m&amp;quot;,&amp;quot;&amp;quot;)), track.log_teff[0]-3, track.log_l[0], .1, 1.; size=&amp;quot;small&amp;quot;, depth=2, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
  xfig.plot(track.log_teff[[0:108:1]]-3,track.log_l[[0:108:1]]; depth=2, color=&amp;quot;black&amp;quot;); % hydrogen core burning =&amp;gt; main-sequence phase&lt;br /&gt;
  xfig.plot(track.log_teff[[109:369:1]]-3,track.log_l[[109:369:1]]; depth=2, color=&amp;quot;gray&amp;quot;); % post main-sequence phase&lt;br /&gt;
}&lt;br /&gt;
% --------------------&lt;br /&gt;
% -----&lt;br /&gt;
variable phi = [0:2*PI:#360];&lt;br /&gt;
% Sun:&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;$\\odot$&amp;quot;, log10(5785)-3, 0, 0, 0; size=&amp;quot;large&amp;quot;, depth=1, color=&amp;quot;goldenrod&amp;quot;);&lt;br /&gt;
% Dwarfs:&lt;br /&gt;
variable angle = -33; % value depends on aspect ratio of figure&lt;br /&gt;
variable zams = struct{ log_teff, log_l }; % zero-age main sequence according to Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
zams.log_teff = [3.688210, 3.724350, 3.754330, 3.779290, 3.803820, 3.824326, 3.856430, 3.909891, 3.972774, 4.048683, 4.104477, 4.186443, 4.247069, 4.332096, 4.391638, 4.456053, 4.501169, 4.553253, 4.588704, 4.623051, 4.649728, 4.689020, 4.713497, 4.729690];&lt;br /&gt;
zams.log_l = [-0.590900, -0.356030, -0.138050, 0.063710, 0.295030, 0.459878, 0.673904, 0.913744, 1.208899, 1.596045, 1.898976, 2.365394, 2.712744, 3.220316, 3.584321, 3.977491, 4.266387, 4.614872, 4.865990, 5.125097, 5.343182, 5.703098, 5.980312, 6.231065];&lt;br /&gt;
variable tams = struct{ log_teff, log_l }; % terminal-age main sequence according to Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
tams.log_teff = [3.713490, 3.741400, 3.762730, 3.781080, 3.788900, 3.803512, 3.813527, 3.820671, 3.860109, 3.926968, 3.984781, 4.077595, 4.145771, 4.237784, 4.295675, 4.352039, 4.386232, 4.417494, 4.427468, 4.422336, 4.397432, 4.152124, 4.310353, 4.433115];&lt;br /&gt;
tams.log_l = [-0.258470, -0.046390, 0.126790, 0.276170, 0.493410, 0.646927, 0.833820, 1.074095, 1.372272, 1.782232, 2.104768, 2.608506, 2.981932, 3.521011, 3.906572, 4.312416, 4.603134, 4.955324, 5.191676, 5.421882, 5.607502, 5.874329, 6.106877, 6.310356];&lt;br /&gt;
array_reverse(tams.log_teff);&lt;br /&gt;
array_reverse(tams.log_l);&lt;br /&gt;
xfig.shade_region([zams.log_teff,tams.log_teff]-3,[zams.log_l,tams.log_l]; width=0, color=&amp;quot;darkgreen&amp;quot;, depth=3);&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Dwarfs&amp;quot;); rotate=angle, depth=1, color=&amp;quot;whitesmoke&amp;quot;), log10(14500)-3, 2.6);&lt;br /&gt;
% Subgiants:&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Subgiants&amp;quot;); rotate=angle, depth=1, color=&amp;quot;black&amp;quot;), log10(11500)-3, 3.15);&lt;br /&gt;
% Supergiants:&lt;br /&gt;
xfig.shade_region((0.35*cos(phi)+log10(8)),(0.75*sin(phi)+4.75); width=0, depth=3, color=&amp;quot;blue&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Supergiants&amp;quot;, log10(8), 4.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% Giants:&lt;br /&gt;
xfig.shade_region((0.15*cos(phi)+log10(4.5)),(0.75*sin(phi)+2.75); width=0, depth=3, color=&amp;quot;red&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Giants&amp;quot;, log10(4.5), 2.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% White dwarfs&lt;br /&gt;
xfig.shade_region([0.1,0.2,0.4,0.3,0.2],[0.1,0.0,0.0,0.1,0.2]; width=0, depth=3, color=&amp;quot;powderblue&amp;quot;, world00);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;White&amp;quot;, log10(26), -0.05, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;dwarfs&amp;quot;, log10(28), -0.45, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
% -----&lt;br /&gt;
xfig.render(&amp;quot;HR_diagram.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1162</id>
		<title>Hertzsprung-Russell diagram (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1162"/>
		<updated>2018-04-17T12:26:26Z</updated>

		<summary type="html">&lt;p&gt;Niu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hertzsprung-Russell diagram ==&lt;br /&gt;
[[File:Hr_diagram.png|center|500px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% -------------&lt;br /&gt;
% axes, labels:&lt;br /&gt;
variable xfig = xfig_plot_new(12,9);&lt;br /&gt;
variable xmin = log10(3), xmax = log10(47), ymin = -1., ymax = 7.; % x-axis is in kilo Kelvin&lt;br /&gt;
xfig.world(xmax, xmin, ymin, ymax);&lt;br /&gt;
xfig.axis(; ticlabels2=0, ticlabels_confine=0);&lt;br /&gt;
variable xmajor = log10([5:45:5]);&lt;br /&gt;
variable xminor = log10([1:50:1]);&lt;br /&gt;
variable x2major = [ymin:ymax:0.1];&lt;br /&gt;
variable x2minor = [ymin:ymax:0.02];&lt;br /&gt;
xfig.axis(; depth=0, tic_depth=0, ticlabels_confine=0);&lt;br /&gt;
xfig.x1axis(; ticlabels=[&amp;quot;O&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;A&amp;quot;,&amp;quot;F&amp;quot;,&amp;quot;G&amp;quot;,&amp;quot;K&amp;quot;,&amp;quot;M&amp;quot;], major=log10([32,18,10,7,5.5,4.25,3.25]), major_width=0);&lt;br /&gt;
xfig.xlabel(&amp;quot;Spectral class&amp;quot;);&lt;br /&gt;
xfig.x2axis(; ticlabels=[&amp;quot;5&amp;quot;,&amp;quot;10&amp;quot;,&amp;quot;15&amp;quot;,&amp;quot;20&amp;quot;,&amp;quot;25&amp;quot;,&amp;quot;30&amp;quot;,&amp;quot;35&amp;quot;,&amp;quot;40&amp;quot;,&amp;quot;45&amp;quot;R], major=xmajor, minor=xminor, format=&amp;quot;%.0f&amp;quot;);&lt;br /&gt;
xfig.x2label(&amp;quot;$T_{\mathrm{eff}}\,(10^3\,\mathrm{K})$&amp;quot;R);&lt;br /&gt;
xfig.y2axis(; ticlabels=0);&lt;br /&gt;
xfig.ylabel(&amp;quot;$\log (L/{L}_{\odot})$&amp;quot;R);&lt;br /&gt;
% -------------&lt;br /&gt;
% --------------------&lt;br /&gt;
% evolutionary tracks:&lt;br /&gt;
% from Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
variable tracks = struct{ m1, m3, m7, m20 };&lt;br /&gt;
tracks.m1 = struct{ log_teff, log_l }; % track for 1 solar mass&lt;br /&gt;
tracks.m3 = struct{ log_teff, log_l }; % track for 3 solar mass&lt;br /&gt;
tracks.m7 = struct{ log_teff, log_l }; % track for 7 solar mass&lt;br /&gt;
tracks.m20 = struct{ log_teff, log_l }; % track for 20 solar mass&lt;br /&gt;
tracks.m1.log_teff = [3.754330, 3.755300, 3.755330, 3.755400, 3.755480, 3.755580, 3.755700, 3.755810, 3.755940, 3.756070, 3.756190, 3.756330, 3.756470, 3.756610, 3.756730, 3.756860, 3.757000, 3.757150, 3.757270, 3.757420, 3.757570, 3.757700, 3.757850, 3.757980, 3.758140, 3.758270, 3.758420, 3.758580, 3.758710, 3.758870, 3.759000, 3.759140, 3.759290, 3.759430, 3.759610, 3.759770, 3.759930, 3.760120, 3.760280, 3.760440, 3.760600, 3.760780, 3.760940, 3.761100, 3.761250, 3.761410, 3.761560, 3.761670, 3.761800, 3.761950, 3.762060, 3.762180, 3.762300, 3.762410, 3.762520, 3.762620, 3.762750, 3.762820, 3.762880, 3.762950, 3.763020, 3.763080, 3.763140, 3.763190, 3.763240, 3.763290, 3.763330, 3.763370, 3.763400, 3.763430, 3.763450, 3.763470, 3.763480, 3.763490, 3.763480, 3.763470, 3.763450, 3.763410, 3.763360, 3.763290, 3.763220, 3.763140, 3.763040, 3.762940, 3.762850, 3.762800, 3.762770, 3.762750, 3.762730, 3.762680, 3.762650, 3.762630, 3.762610, 3.762560, 3.762530, 3.762480, 3.762460, 3.762410, 3.762390, 3.762350, 3.762300, 3.762280, 3.762230, 3.762180, 3.762120, 3.762070, 3.762010, 3.761920, 3.761860, 3.761740, 3.761640, 3.761580, 3.761520, 3.761450, 3.761440, 3.761400, 3.761350, 3.761300, 3.761230, 3.761170, 3.761100, 3.761030, 3.760930, 3.760850, 3.760760, 3.760650, 3.760490, 3.760360, 3.760230, 3.760080, 3.759870, 3.759710, 3.759530, 3.759340, 3.759070, 3.758850, 3.758620, 3.758370, 3.758020, 3.757730, 3.757430, 3.757110, 3.756620, 3.756230, 3.755810, 3.755370, 3.754740, 3.754240, 3.753690, 3.753120, 3.752290, 3.751620, 3.750900, 3.750130, 3.749010, 3.748020, 3.746900, 3.745720, 3.743960, 3.742490, 3.740860, 3.739060, 3.737080, 3.734070, 3.731440, 3.728450, 3.724750, 3.718820, 3.713870, 3.709260, 3.703280, 3.697400, 3.692710, 3.688030, 3.684480, 3.682560, 3.680620, 3.678870, 3.677430, 3.676030, 3.674470, 3.672500, 3.670030, 3.667120, 3.663040, 3.656530, 3.647770, 3.646700, 3.626800, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410, 3.556410];&lt;br /&gt;
tracks.m1.log_l = [-0.138050, -0.129380, -0.126810, -0.124360, -0.122260, -0.119770, -0.117260, -0.114720, -0.112130, -0.109510, -0.107250, -0.104540, -0.101830, -0.099090, -0.096690, -0.093890, -0.091050, -0.088180, -0.085690, -0.082760, -0.079800, -0.077230, -0.074220, -0.071610, -0.068540, -0.065890, -0.062750, -0.059600, -0.056880, -0.053670, -0.050910, -0.048120, -0.044830, -0.042000, -0.038660, -0.035760, -0.032850, -0.029430, -0.026470, -0.023490, -0.020480, -0.016960, -0.013920, -0.010850, -0.007770, -0.004660, -0.001540, 0.001590, 0.004760, 0.008470, 0.011680, 0.014910, 0.018160, 0.020890, 0.024180, 0.027500, 0.030830, 0.034170, 0.037550, 0.040950, 0.044380, 0.047800, 0.051270, 0.054190, 0.057710, 0.061270, 0.064840, 0.068450, 0.072080, 0.075120, 0.078800, 0.082480, 0.086200, 0.089300, 0.093030, 0.096140, 0.099880, 0.102980, 0.106070, 0.109160, 0.112220, 0.115260, 0.118280, 0.121310, 0.123730, 0.124950, 0.125560, 0.126180, 0.126790, 0.128040, 0.128660, 0.129290, 0.129920, 0.131190, 0.131840, 0.133140, 0.133800, 0.135130, 0.135810, 0.137170, 0.138550, 0.139250, 0.140630, 0.142070, 0.144260, 0.145740, 0.148010, 0.151080, 0.153420, 0.157380, 0.160590, 0.163010, 0.165420, 0.167860, 0.171150, 0.173650, 0.176170, 0.178710, 0.182130, 0.184720, 0.187330, 0.189970, 0.193520, 0.196210, 0.198920, 0.201650, 0.205330, 0.208130, 0.210940, 0.213780, 0.217610, 0.220520, 0.223440, 0.226400, 0.230380, 0.233390, 0.236430, 0.239500, 0.243630, 0.246750, 0.249900, 0.253070, 0.257320, 0.260540, 0.263770, 0.267020, 0.271370, 0.274650, 0.277930, 0.281210, 0.285580, 0.288840, 0.292080, 0.295300, 0.299510, 0.302540, 0.305550, 0.308480, 0.312160, 0.314740, 0.317060, 0.319060, 0.320830, 0.322500, 0.322870, 0.322620, 0.321470, 0.318760, 0.316620, 0.315640, 0.317440, 0.324700, 0.337600, 0.362110, 0.393770, 0.418910, 0.461060, 0.504440, 0.550130, 0.604380, 0.664270, 0.729320, 0.807500, 0.897740, 1.007900, 1.152030, 1.342320, 1.390360, 1.719880, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140, 2.638140];&lt;br /&gt;
tracks.m3.log_teff = [4.104477, 4.101130, 4.098784, 4.096932, 4.095520, 4.094152, 4.092906, 4.091568, 4.090532, 4.089462, 4.088575, 4.087603, 4.086631, 4.085654, 4.084584, 4.083618, 4.082794, 4.081863, 4.080880, 4.079909, 4.078954, 4.077811, 4.076814, 4.075977, 4.074953, 4.073932, 4.072905, 4.071846, 4.070604, 4.069515, 4.068425, 4.067474, 4.066353, 4.065180, 4.063810, 4.062611, 4.061387, 4.060169, 4.058875, 4.057809, 4.056518, 4.054984, 4.053684, 4.052311, 4.050895, 4.049511, 4.048311, 4.046844, 4.045140, 4.043617, 4.042110, 4.040580, 4.038967, 4.037586, 4.035944, 4.034328, 4.032409, 4.030733, 4.028975, 4.027469, 4.025674, 4.023859, 4.022054, 4.019996, 4.018106, 4.016439, 4.014562, 4.012628, 4.010719, 4.008746, 4.006818, 4.004866, 4.002865, 4.000890, 3.998964, 3.997042, 3.995170, 3.993303, 3.991514, 3.989837, 3.988263, 3.986853, 3.985639, 3.984805, 3.984479, 3.984499, 3.984547, 3.984648, 3.984781, 3.984972, 3.985252, 3.985549, 3.985906, 3.986334, 3.986842, 3.987464, 3.988192, 3.989086, 3.990155, 3.991399, 3.992620, 3.994326, 3.996373, 3.998494, 4.001379, 4.005055, 4.009778, 4.015627, 4.024013, 4.035578, 4.027620, 4.019198, 4.014199, 4.010884, 4.008090, 4.005473, 4.003593, 4.001870, 3.999673, 3.998636, 3.996650, 3.995367, 3.992839, 3.991586, 3.990325, 3.988684, 3.987023, 3.985322, 3.983579, 3.981786, 3.981786, 3.979712, 3.977541, 3.975261, 3.972866, 3.970342, 3.970342, 3.967673, 3.964838, 3.961813, 3.958571, 3.955076, 3.955076, 3.952064, 3.948853, 3.941737, 3.937805, 3.933549, 3.928990, 3.924054, 3.918705, 3.912862, 3.907195, 3.901103, 3.894541, 3.887346, 3.879446, 3.861010, 3.850280, 3.838353, 3.824996, 3.807248, 3.797427, 3.777874, 3.762034, 3.748710, 3.736734, 3.724115, 3.715732, 3.707236, 3.696032, 3.686913, 3.681703, 3.677099, 3.672587, 3.668592, 3.665801, 3.663002, 3.659846, 3.657180, 3.654128, 3.651128, 3.648095, 3.645231, 3.642391, 3.639711, 3.637484, 3.634593, 3.632145, 3.635666, 3.641828, 3.643987, 3.646684, 3.649874, 3.652920, 3.657066, 3.660748, 3.664139, 3.667093, 3.671135, 3.674116, 3.678197, 3.680127, 3.682554, 3.684970, 3.687178, 3.688573, 3.690152, 3.693206, 3.695129, 3.696329, 3.697237, 3.697691, 3.697918, 3.697847, 3.697883, 3.697758, 3.697609, 3.697464, 3.697333, 3.697136, 3.697183, 3.697142, 3.697143, 3.697211, 3.697227, 3.697261, 3.697284, 3.697322, 3.697328, 3.697378, 3.697393, 3.697317, 3.697438, 3.697463, 3.697494, 3.697490, 3.697448, 3.697510, 3.697517, 3.697539, 3.697554, 3.697560, 3.697585, 3.697587, 3.697635, 3.697641, 3.697657, 3.697695, 3.697711, 3.697749, 3.697767, 3.697795, 3.697817, 3.697833, 3.697856, 3.697868, 3.697910, 3.697926, 3.697937, 3.697953, 3.697917, 3.697939, 3.697946, 3.698006, 3.697967, 3.697968, 3.697975, 3.697975, 3.697966, 3.697966, 3.698002, 3.698044, 3.698057, 3.698066, 3.698132, 3.698023, 3.698025, 3.697961, 3.698303, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.698114, 3.697860, 3.697296, 3.697150, 3.696984, 3.696565, 3.696449, 3.696182, 3.695561, 3.695231, 3.694880, 3.694011, 3.693476, 3.692530, 3.691571, 3.690567, 3.688184, 3.686590, 3.684183, 3.680467, 3.664628];&lt;br /&gt;
tracks.m3.log_l = [1.898976, 1.898157, 1.900368, 1.903228, 1.906229, 1.909473, 1.912669, 1.915631, 1.919331, 1.922666, 1.926119, 1.929846, 1.933160, 1.936508, 1.940077, 1.943397, 1.946812, 1.950456, 1.953744, 1.956987, 1.960515, 1.963574, 1.966817, 1.970432, 1.973557, 1.976631, 1.980111, 1.983128, 1.986004, 1.989179, 1.992273, 1.995433, 1.998425, 2.001378, 2.004035, 2.006924, 2.009910, 2.012560, 2.015303, 2.018372, 2.020963, 2.023431, 2.026095, 2.028576, 2.031044, 2.033705, 2.036241, 2.038570, 2.040540, 2.043114, 2.045241, 2.047596, 2.049719, 2.051901, 2.054142, 2.056032, 2.057709, 2.059767, 2.061599, 2.063530, 2.065377, 2.067040, 2.068619, 2.070105, 2.071634, 2.073346, 2.074828, 2.076166, 2.077634, 2.078898, 2.080094, 2.081460, 2.082636, 2.083775, 2.085083, 2.086236, 2.087446, 2.088730, 2.089970, 2.091433, 2.092853, 2.094588, 2.096468, 2.098816, 2.101593, 2.102334, 2.102991, 2.103922, 2.104768, 2.105640, 2.106693, 2.107692, 2.108753, 2.109920, 2.111194, 2.112641, 2.114297, 2.116148, 2.118172, 2.120395, 2.122534, 2.125387, 2.128790, 2.132439, 2.137256, 2.142846, 2.150769, 2.160729, 2.175909, 2.197592, 2.175125, 2.185301, 2.197447, 2.202487, 2.205639, 2.208038, 2.209410, 2.210467, 2.211650, 2.212162, 2.213094, 2.213552, 2.214353, 2.214709, 2.215033, 2.215437, 2.215775, 2.216047, 2.216275, 2.216510, 2.216510, 2.216610, 2.216638, 2.216595, 2.216464, 2.216231, 2.216231, 2.215881, 2.215414, 2.214775, 2.213947, 2.212979, 2.212979, 2.211950, 2.210762, 2.207781, 2.205965, 2.203840, 2.201414, 2.198580, 2.195333, 2.191549, 2.187744, 2.183283, 2.178384, 2.172654, 2.165949, 2.149017, 2.138421, 2.126120, 2.111449, 2.090319, 2.077763, 2.047863, 2.010163, 1.962986, 1.910611, 1.839891, 1.803651, 1.793080, 1.821048, 1.881206, 1.940541, 1.987798, 2.033413, 2.077010, 2.113085, 2.150113, 2.187340, 2.223158, 2.261067, 2.296868, 2.333229, 2.370631, 2.407406, 2.441670, 2.479107, 2.513618, 2.542172, 2.501533, 2.418088, 2.390079, 2.357468, 2.324004, 2.289329, 2.246575, 2.195523, 2.155987, 2.112991, 2.068237, 2.034009, 1.994281, 1.971123, 1.949987, 1.930177, 1.912312, 1.904220, 1.896871, 1.889495, 1.888052, 1.888889, 1.890312, 1.891323, 1.892204, 1.892774, 1.893772, 1.894377, 1.895038, 1.895777, 1.896499, 1.897036, 1.898205, 1.899111, 1.900117, 1.901103, 1.902077, 1.902980, 1.904079, 1.904962, 1.905917, 1.906815, 1.907734, 1.908249, 1.909652, 1.910666, 1.911600, 1.912941, 1.913630, 1.914763, 1.915684, 1.916661, 1.917600, 1.918530, 1.919604, 1.920576, 1.921636, 1.922639, 1.923660, 1.925384, 1.926319, 1.927370, 1.928294, 1.929379, 1.930928, 1.932756, 1.933701, 1.934644, 1.938850, 1.939751, 1.940648, 1.941545, 1.942451, 1.943542, 1.944417, 1.945651, 1.946251, 1.947151, 1.948034, 1.948879, 1.949817, 1.950968, 1.952394, 1.953985, 1.955612, 1.957425, 1.961586, 1.962245, 1.963240, 1.964008, 1.978211, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.977363, 1.984200, 1.993446, 1.997043, 2.000126, 2.007648, 2.010280, 2.012891, 2.019092, 2.020792, 2.024098, 2.028754, 2.030630, 2.034344, 2.034319, 2.035530, 2.044368, 2.048004, 2.053374, 2.067782, 2.196314];&lt;br /&gt;
tracks.m7.log_teff = [4.332096, 4.328320, 4.326038, 4.324511, 4.323259, 4.322116, 4.321212, 4.320357, 4.319573, 4.318899, 4.318188, 4.317513, 4.316760, 4.316124, 4.315453, 4.314796, 4.314137, 4.313486, 4.312861, 4.312146, 4.311447, 4.310766, 4.310062, 4.309355, 4.308616, 4.307887, 4.307114, 4.306342, 4.305527, 4.304748, 4.303917, 4.303072, 4.302205, 4.301346, 4.300464, 4.299560, 4.298623, 4.297675, 4.296707, 4.295747, 4.294726, 4.293709, 4.292675, 4.291631, 4.290535, 4.289442, 4.288291, 4.287137, 4.285987, 4.284830, 4.283688, 4.282377, 4.281137, 4.279848, 4.278558, 4.277258, 4.275919, 4.274649, 4.273265, 4.271796, 4.270365, 4.268891, 4.267504, 4.266029, 4.264506, 4.262972, 4.261453, 4.259881, 4.258287, 4.256736, 4.255117, 4.253564, 4.251932, 4.250330, 4.248753, 4.247167, 4.245650, 4.244133, 4.242741, 4.241340, 4.240085, 4.239005, 4.238083, 4.237530, 4.237449, 4.237502, 4.237544, 4.237651, 4.237784, 4.237949, 4.238114, 4.238347, 4.238624, 4.238950, 4.239345, 4.239774, 4.240287, 4.240864, 4.241547, 4.242350, 4.243391, 4.244668, 4.245955, 4.247738, 4.249902, 4.252660, 4.256188, 4.261033, 4.268576, 4.278758, 4.276700, 4.271091, 4.264163, 4.257535, 4.251551, 4.246792, 4.242080, 4.238544, 4.233549, 4.230376, 4.227304, 4.222256, 4.218787, 4.215385, 4.213696, 4.210338, 4.206665, 4.202654, 4.198614, 4.196575, 4.192425, 4.188184, 4.186028, 4.181635, 4.177107, 4.174761, 4.169952, 4.167482, 4.162382, 4.157073, 4.154295, 4.148542, 4.142472, 4.139310, 4.132646, 4.125541, 4.121834, 4.114001, 4.105536, 4.101063, 4.091519, 4.081102, 4.075528, 4.063547, 4.050320, 4.043161, 4.030129, 4.018452, 3.998943, 3.984378, 3.968375, 3.943353, 3.921980, 3.891749, 3.865308, 3.826374, 3.779667, 3.725678, 3.681198, 3.656651, 3.641506, 3.627405, 3.613375, 3.607156, 3.604405, 3.602538, 3.601806, 3.599727, 3.599603, 3.600013, 3.599306, 3.598872, 3.597960, 3.597543, 3.597011, 3.596631, 3.596427, 3.596191, 3.595973, 3.595834, 3.597160, 3.598375, 3.599965, 3.600833, 3.600831, 3.601515, 3.602871, 3.605483, 3.606549, 3.605555, 3.607951, 3.610090, 3.611943, 3.613236, 3.614876, 3.616421, 3.617434, 3.618779, 3.621073, 3.622618, 3.622776, 3.623235, 3.623353, 3.623821, 3.623997, 3.624226, 3.625528, 3.625735, 3.625954, 3.626158, 3.626497, 3.626846, 3.627171, 3.627456, 3.627730, 3.627993, 3.628300, 3.628602, 3.628912, 3.629263, 3.630437, 3.630933, 3.631360, 3.631842, 3.632390, 3.633723, 3.634783, 3.665681, 3.683321, 3.703236, 3.723511, 3.739929, 3.752854, 3.762691, 3.771399, 3.778577, 3.785004, 3.790939, 3.796565, 3.802501, 3.807311, 3.811833, 3.815278, 3.818532, 3.876135, 3.877868, 3.879691, 3.881684, 3.883706, 3.886060, 3.887932, 3.890105, 3.892588, 3.894283, 3.895841, 3.897358, 3.898810, 3.900199, 3.901722, 3.903171, 3.904857, 3.906437, 3.908123, 3.909673, 3.912379, 3.913959, 3.915249, 3.916732, 3.918209, 3.966178, 3.966115, 3.965955, 3.965722, 3.965449, 3.965165, 3.964824, 3.964451, 3.964058, 3.963271, 3.963075, 3.962749, 3.962339, 3.961805, 3.961155, 3.960438, 3.959722, 3.959019, 3.958136, 3.957191, 3.956146, 3.955251, 3.954283, 3.953136, 3.951916, 3.950582, 3.949186, 3.947747, 3.946258, 3.944704, 3.943043, 3.941355, 3.939590, 3.937691, 3.935705, 3.933664, 3.931502, 3.929228, 3.926949, 3.924556, 3.922072, 3.919503, 3.916736, 3.913864, 3.910855, 3.907689, 3.904399, 3.900891, 3.897316, 3.893520, 3.889467, 3.885164, 3.880593, 3.875572, 3.870274, 3.864655, 3.858520, 3.851880, 3.844598, 3.836846, 3.827031, 3.816640, 3.804874, 3.791261, 3.774941, 3.754821, 3.729229, 3.695042, 3.659592, 3.643731, 3.627150, 3.626133, 3.625057, 3.624490, 3.623345, 3.622775, 3.621631, 3.621054, 3.619903, 3.619290, 3.618071, 3.617455, 3.616156, 3.614861, 3.614229, 3.612866, 3.612142, 3.610937, 3.610142, 3.610602, 3.602978];&lt;br /&gt;
tracks.m7.log_l = [3.220316, 3.222236, 3.225934, 3.229981, 3.234307, 3.238596, 3.242995, 3.247321, 3.251924, 3.256357, 3.260792, 3.265291, 3.269632, 3.274029, 3.278296, 3.282821, 3.286990, 3.291400, 3.295676, 3.299967, 3.304149, 3.308462, 3.312527, 3.316832, 3.320878, 3.325039, 3.329032, 3.333184, 3.337169, 3.341168, 3.345029, 3.349119, 3.352956, 3.356905, 3.360594, 3.364509, 3.368194, 3.372097, 3.375746, 3.379510, 3.383115, 3.386828, 3.390284, 3.393923, 3.397403, 3.400997, 3.404437, 3.407898, 3.411295, 3.414547, 3.418016, 3.421233, 3.424598, 3.427808, 3.431126, 3.434182, 3.437394, 3.440545, 3.443572, 3.446675, 3.449643, 3.452622, 3.455812, 3.458679, 3.461540, 3.464590, 3.467340, 3.470130, 3.472974, 3.475755, 3.478522, 3.481117, 3.484004, 3.486664, 3.489290, 3.491944, 3.494787, 3.497446, 3.500011, 3.502895, 3.505690, 3.508442, 3.511563, 3.514660, 3.517971, 3.518808, 3.519594, 3.520310, 3.521011, 3.521737, 3.522363, 3.523141, 3.523951, 3.524827, 3.525737, 3.526626, 3.527718, 3.528864, 3.529965, 3.531167, 3.532609, 3.534299, 3.535914, 3.538223, 3.540880, 3.544190, 3.548222, 3.554541, 3.565152, 3.583014, 3.576169, 3.563020, 3.554800, 3.556295, 3.564870, 3.573734, 3.582066, 3.587452, 3.593816, 3.597135, 3.599927, 3.603747, 3.605914, 3.607810, 3.608631, 3.610085, 3.611448, 3.612663, 3.613631, 3.614050, 3.614736, 3.615239, 3.615435, 3.615717, 3.615799, 3.615779, 3.615642, 3.615516, 3.615084, 3.614467, 3.614084, 3.613218, 3.612078, 3.611389, 3.609764, 3.607780, 3.606682, 3.604167, 3.601164, 3.599452, 3.595528, 3.590906, 3.588274, 3.582331, 3.575291, 3.571276, 3.563641, 3.556470, 3.543681, 3.533634, 3.522214, 3.503631, 3.486943, 3.462564, 3.440832, 3.408274, 3.368361, 3.318280, 3.239048, 3.170775, 3.203994, 3.295598, 3.433337, 3.496761, 3.530118, 3.551234, 3.561025, 3.575027, 3.587653, 3.598804, 3.611776, 3.618321, 3.631116, 3.636021, 3.645658, 3.653961, 3.659961, 3.663939, 3.667343, 3.669468, 3.652996, 3.633136, 3.615651, 3.603901, 3.591752, 3.576569, 3.562458, 3.550026, 3.537842, 3.523101, 3.509558, 3.495461, 3.483123, 3.474772, 3.467494, 3.461328, 3.455866, 3.452826, 3.448147, 3.447262, 3.447461, 3.447566, 3.447692, 3.448052, 3.448105, 3.448606, 3.450289, 3.450684, 3.451125, 3.451498, 3.452573, 3.453145, 3.453837, 3.454481, 3.455146, 3.455889, 3.456769, 3.457614, 3.458545, 3.459693, 3.463869, 3.465136, 3.466698, 3.468591, 3.470875, 3.477056, 3.480336, 3.567194, 3.579202, 3.588661, 3.595847, 3.601208, 3.605330, 3.608748, 3.611829, 3.614628, 3.617675, 3.620322, 3.623573, 3.626370, 3.628592, 3.631104, 3.633412, 3.634879, 3.667375, 3.668497, 3.669818, 3.671017, 3.672650, 3.673945, 3.675235, 3.676565, 3.678166, 3.679165, 3.680143, 3.681254, 3.682227, 3.683366, 3.684341, 3.685334, 3.686696, 3.687644, 3.689088, 3.689945, 3.692384, 3.693152, 3.693934, 3.695269, 3.696366, 3.726207, 3.726218, 3.726268, 3.726353, 3.726449, 3.726525, 3.726563, 3.726617, 3.726728, 3.727225, 3.727205, 3.727169, 3.727039, 3.726874, 3.726738, 3.726605, 3.726719, 3.726471, 3.726221, 3.725983, 3.725856, 3.725869, 3.725482, 3.725105, 3.724742, 3.724375, 3.723998, 3.723633, 3.723204, 3.722754, 3.722301, 3.721821, 3.721268, 3.720674, 3.719999, 3.719381, 3.718731, 3.717999, 3.717337, 3.716520, 3.715740, 3.714836, 3.713875, 3.712960, 3.711882, 3.710743, 3.709566, 3.708307, 3.707170, 3.705678, 3.704111, 3.702612, 3.700703, 3.698742, 3.696672, 3.694619, 3.692034, 3.689234, 3.686435, 3.682163, 3.677869, 3.673341, 3.667844, 3.661392, 3.653430, 3.643164, 3.629464, 3.608824, 3.573459, 3.518706, 3.465240, 3.465535, 3.466360, 3.466996, 3.468742, 3.469831, 3.472490, 3.474027, 3.477530, 3.480029, 3.484467, 3.486669, 3.492091, 3.497817, 3.500731, 3.507212, 3.510760, 3.518050, 3.523789, 3.538654, 3.590785];&lt;br /&gt;
tracks.m20.log_teff = [4.553253, 4.549346, 4.547174, 4.545685, 4.544487, 4.543546, 4.542704, 4.541930, 4.541199, 4.540501, 4.539833, 4.539180, 4.538523, 4.537867, 4.537208, 4.536548, 4.535864, 4.535171, 4.534479, 4.533819, 4.533099, 4.532349, 4.531685, 4.530858, 4.530091, 4.529258, 4.528381, 4.527510, 4.526607, 4.525624, 4.524617, 4.523586, 4.522501, 4.521398, 4.520290, 4.519143, 4.517971, 4.516772, 4.515485, 4.514221, 4.512837, 4.511507, 4.510101, 4.508667, 4.507198, 4.505676, 4.504136, 4.502523, 4.500856, 4.499166, 4.497491, 4.495733, 4.493921, 4.492090, 4.490113, 4.488147, 4.486238, 4.484147, 4.482163, 4.479980, 4.477843, 4.475607, 4.473299, 4.471034, 4.468654, 4.466329, 4.463757, 4.461328, 4.458638, 4.456110, 4.453542, 4.450639, 4.447997, 4.445199, 4.442406, 4.439610, 4.436652, 4.433856, 4.430981, 4.428301, 4.425631, 4.423303, 4.421079, 4.419665, 4.417133, 4.417171, 4.417249, 4.417350, 4.417494, 4.417629, 4.417839, 4.418064, 4.418213, 4.418508, 4.418812, 4.419100, 4.419612, 4.420245, 4.420835, 4.421696, 4.422720, 4.423804, 4.424998, 4.426548, 4.428610, 4.431079, 4.434245, 4.438862, 4.446238, 4.466819, 4.466818, 4.466795, 4.466869, 4.466593, 4.465954, 4.464978, 4.463753, 4.460943, 4.459266, 4.457600, 4.455811, 4.454226, 4.452252, 4.450122, 4.447809, 4.445428, 4.440841, 4.438668, 4.436202, 4.433690, 4.429020, 4.426507, 4.423976, 4.421396, 4.416259, 4.413662, 4.411091, 4.408434, 4.405806, 4.400451, 4.397710, 4.394906, 4.392073, 4.386325, 4.383410, 4.380459, 4.377478, 4.371463, 4.368414, 4.365331, 4.362171, 4.359369, 4.353332, 4.350270, 4.347179, 4.344057, 4.337768, 4.334598, 4.331373, 4.328118, 4.321521, 4.318163, 4.314773, 4.311343, 4.304390, 4.300861, 4.297283, 4.293637, 4.289962, 4.282533, 4.278783, 4.274971, 4.271118, 4.263665, 4.261759, 4.255988, 4.252112, 4.246432, 4.243446, 4.239031, 4.233549, 4.230085, 4.224989, 4.220862, 4.216878, 4.212944, 4.209174, 4.205576, 4.202151, 4.198862, 4.110521, 4.089470, 4.074724, 4.062205, 4.049360, 4.034826, 4.016791, 3.997607, 3.977317, 3.957115, 3.928374, 3.903048, 3.876210, 3.850041, 3.808092, 3.734719, 3.576925, 3.571743, 3.571057, 3.570602, 3.570459, 3.570285, 3.570244, 3.570004, 3.570037, 3.570028, 3.569749, 3.569502, 3.569621, 3.569551, 3.569749, 3.569678, 3.569698, 3.568869, 3.568953, 3.568850, 3.568921, 3.568871, 3.568696, 3.568741, 3.568656, 3.568812, 3.568712, 3.568734, 3.568659, 3.568854, 3.568885, 3.568692, 3.568926, 3.568882, 3.568797, 3.568945, 3.568887, 3.569005, 3.568945, 3.568872, 3.569075, 3.569540, 3.569856, 3.569869, 3.569758, 3.569846, 3.569960, 3.569608, 3.569670, 3.569800, 3.569511, 3.569921, 3.570298, 3.570322, 3.570332, 3.570586, 3.570489, 3.571143, 3.571122, 3.571005, 3.570983, 3.571283, 3.571207, 3.571646, 3.572005, 3.572294, 3.572640, 3.572454, 3.572985, 3.573242, 3.573122, 3.573409, 3.573730, 3.573847, 3.574047, 3.574057, 3.574320, 3.574750, 3.574671, 3.574629, 3.574749, 3.574825, 3.575110, 3.575288, 3.575142, 3.575135, 3.575430, 3.575209, 3.575085, 3.574964, 3.575442, 3.575474, 3.575504, 3.575606, 3.575859, 3.575655, 3.575990, 3.576159, 3.575925, 3.575717, 3.576006, 3.575427, 3.575602, 3.575647, 3.575675, 3.575689, 3.575680, 3.575821, 3.575970, 3.575801, 3.575997, 3.575863, 3.575829, 3.575950, 3.576194, 3.576241, 3.576257, 3.576189, 3.576174, 3.576303, 3.576327, 3.576308, 3.576258, 3.576341, 3.576527, 3.576310, 3.576297, 3.576468, 3.576551, 3.576468, 3.576504, 3.576346, 3.576391, 3.576517, 3.576198, 3.576264, 3.576354, 3.576364, 3.576172, 3.576042, 3.576061, 3.575789, 3.575548, 3.574428, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.574141, 3.572871];&lt;br /&gt;
tracks.m20.log_l = [4.614872, 4.619018, 4.623463, 4.628064, 4.632737, 4.637466, 4.642282, 4.646902, 4.651751, 4.656385, 4.661088, 4.665791, 4.670511, 4.675113, 4.679815, 4.684374, 4.688887, 4.693485, 4.698080, 4.702542, 4.707066, 4.711544, 4.715935, 4.720303, 4.724738, 4.729042, 4.733292, 4.737656, 4.741863, 4.746114, 4.750368, 4.754505, 4.758829, 4.762955, 4.767060, 4.771277, 4.775252, 4.779310, 4.783414, 4.787365, 4.791604, 4.795450, 4.799393, 4.803348, 4.807345, 4.811222, 4.815075, 4.819143, 4.822897, 4.826832, 4.830508, 4.834208, 4.838174, 4.841852, 4.845683, 4.849399, 4.853005, 4.856893, 4.860380, 4.864053, 4.867646, 4.871420, 4.875058, 4.878547, 4.882123, 4.885772, 4.889355, 4.892642, 4.896518, 4.899881, 4.903175, 4.906892, 4.910362, 4.913800, 4.917309, 4.920896, 4.924358, 4.927805, 4.931261, 4.934769, 4.938316, 4.941806, 4.945487, 4.949152, 4.953346, 4.953955, 4.954392, 4.954824, 4.955324, 4.955727, 4.956250, 4.956724, 4.957139, 4.957825, 4.958402, 4.959010, 4.959752, 4.960451, 4.961028, 4.961796, 4.962637, 4.963474, 4.964382, 4.965509, 4.966926, 4.968583, 4.970716, 4.973939, 4.979591, 5.001445, 5.001124, 5.001037, 5.001511, 5.001620, 5.001418, 5.000994, 5.000533, 4.999532, 4.999009, 4.998868, 4.998832, 4.999701, 5.000112, 5.000569, 5.000940, 5.001460, 5.002370, 5.003414, 5.003940, 5.004542, 5.007079, 5.008093, 5.009222, 5.010330, 5.012720, 5.013875, 5.015108, 5.016161, 5.017312, 5.019459, 5.020446, 5.021411, 5.022304, 5.023958, 5.024722, 5.025430, 5.026101, 5.027445, 5.028046, 5.028629, 5.029155, 5.030731, 5.032783, 5.033671, 5.034464, 5.035161, 5.036341, 5.036911, 5.037367, 5.037756, 5.038404, 5.038645, 5.038963, 5.039237, 5.039694, 5.039913, 5.040099, 5.040396, 5.040617, 5.041060, 5.041325, 5.041635, 5.041972, 5.043553, 5.043777, 5.044529, 5.045130, 5.046146, 5.046747, 5.047740, 5.049107, 5.050077, 5.051664, 5.053038, 5.054470, 5.055889, 5.057324, 5.058754, 5.060176, 5.061554, 5.079041, 5.077968, 5.076456, 5.075491, 5.074597, 5.073595, 5.072307, 5.071644, 5.070583, 5.069726, 5.068636, 5.068058, 5.068567, 5.069077, 5.068065, 5.064140, 5.031244, 5.035243, 5.035701, 5.035921, 5.036062, 5.036010, 5.036046, 5.036147, 5.036309, 5.036548, 5.036525, 5.036667, 5.036822, 5.036834, 5.037020, 5.037013, 5.037229, 5.036882, 5.037137, 5.037262, 5.037391, 5.037315, 5.037339, 5.037681, 5.037828, 5.037975, 5.038057, 5.038071, 5.038007, 5.038149, 5.038147, 5.038148, 5.038245, 5.038156, 5.038130, 5.038445, 5.038370, 5.038665, 5.038515, 5.038405, 5.038626, 5.038808, 5.038602, 5.038637, 5.038637, 5.038579, 5.038594, 5.038617, 5.038437, 5.038473, 5.037165, 5.037742, 5.039143, 5.038086, 5.037764, 5.037443, 5.037571, 5.037662, 5.037592, 5.037355, 5.037118, 5.036936, 5.036902, 5.036804, 5.036570, 5.036718, 5.036260, 5.035812, 5.035607, 5.035755, 5.034917, 5.034217, 5.034203, 5.033397, 5.032968, 5.032967, 5.033404, 5.032948, 5.032644, 5.032308, 5.032250, 5.032060, 5.032566, 5.031949, 5.031713, 5.031621, 5.031498, 5.031133, 5.031457, 5.030324, 5.031045, 5.030560, 5.030498, 5.030130, 5.030258, 5.029916, 5.029750, 5.030537, 5.029141, 5.028812, 5.029400, 5.029178, 5.029342, 5.029554, 5.028975, 5.028874, 5.028878, 5.028918, 5.029124, 5.028626, 5.028719, 5.028838, 5.028839, 5.028714, 5.028546, 5.028391, 5.028626, 5.028693, 5.028537, 5.028599, 5.028749, 5.028970, 5.028942, 5.028997, 5.029142, 5.029036, 5.029335, 5.029563, 5.029759, 5.029464, 5.030334, 5.030595, 5.030709, 5.031510, 5.031447, 5.031968, 5.032612, 5.033531, 5.034031, 5.034918, 5.036393, 5.037789, 5.040777, 5.056702, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.058582, 5.177863];&lt;br /&gt;
variable mass;&lt;br /&gt;
foreach mass (get_struct_field_names(tracks))&lt;br /&gt;
{&lt;br /&gt;
  variable track = get_struct_field(tracks, mass);&lt;br /&gt;
  xfig_plot_text( xfig, sprintf(&amp;quot;$%s\\,M_{\\odot}$&amp;quot;, strreplace(mass,&amp;quot;m&amp;quot;,&amp;quot;&amp;quot;)), track.log_teff[0]-3, track.log_l[0], .1, 1.; size=&amp;quot;small&amp;quot;, depth=2, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
  xfig.plot(track.log_teff[[0:108:1]]-3,track.log_l[[0:108:1]]; depth=2, color=&amp;quot;black&amp;quot;); % hydrogen core burning =&amp;gt; main-sequence phase&lt;br /&gt;
  xfig.plot(track.log_teff[[109:369:1]]-3,track.log_l[[109:369:1]]; depth=2, color=&amp;quot;gray&amp;quot;); % post main-sequence phase&lt;br /&gt;
}&lt;br /&gt;
% --------------------&lt;br /&gt;
% -----&lt;br /&gt;
variable phi = [0:2*PI:#360];&lt;br /&gt;
% Sun:&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;$\\odot$&amp;quot;, log10(5785)-3, 0, 0, 0; size=&amp;quot;large&amp;quot;, depth=1, color=&amp;quot;goldenrod&amp;quot;);&lt;br /&gt;
% Dwarfs:&lt;br /&gt;
variable angle = -33; % value depends on aspect ratio of figure&lt;br /&gt;
variable zams = struct{ log_teff, log_l }; % zero-age main sequence according to Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
zams.log_teff = [3.688210, 3.724350, 3.754330, 3.779290, 3.803820, 3.824326, 3.856430, 3.909891, 3.972774, 4.048683, 4.104477, 4.186443, 4.247069, 4.332096, 4.391638, 4.456053, 4.501169, 4.553253, 4.588704, 4.623051, 4.649728, 4.689020, 4.713497, 4.729690];&lt;br /&gt;
zams.log_l = [-0.590900, -0.356030, -0.138050, 0.063710, 0.295030, 0.459878, 0.673904, 0.913744, 1.208899, 1.596045, 1.898976, 2.365394, 2.712744, 3.220316, 3.584321, 3.977491, 4.266387, 4.614872, 4.865990, 5.125097, 5.343182, 5.703098, 5.980312, 6.231065];&lt;br /&gt;
variable tams = struct{ log_teff,  log_l }; % terminal-age main sequence according to Ekstroem et al. 2012,  A&amp;amp;A,  537,  A146&lt;br /&gt;
tams.log_teff = [3.713490, 3.741400, 3.762730, 3.781080, 3.788900, 3.803512, 3.813527, 3.820671, 3.860109, 3.926968, 3.984781, 4.077595, 4.145771, 4.237784, 4.295675, 4.352039, 4.386232, 4.417494, 4.427468, 4.422336, 4.397432, 4.152124, 4.310353, 4.433115];&lt;br /&gt;
tams.log_l = [-0.258470, -0.046390, 0.126790, 0.276170, 0.493410, 0.646927, 0.833820, 1.074095, 1.372272, 1.782232, 2.104768, 2.608506, 2.981932, 3.521011, 3.906572, 4.312416, 4.603134, 4.955324, 5.191676, 5.421882, 5.607502, 5.874329, 6.106877, 6.310356];&lt;br /&gt;
array_reverse(tams.log_teff);&lt;br /&gt;
array_reverse(tams.log_l);&lt;br /&gt;
xfig.shade_region([zams.log_teff,tams.log_teff]-3,[zams.log_l,tams.log_l]; width=0, color=&amp;quot;darkgreen&amp;quot;, depth=3);&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Dwarfs&amp;quot;); rotate=angle, depth=1, color=&amp;quot;whitesmoke&amp;quot;), log10(14500)-3, 2.6);&lt;br /&gt;
% Subgiants:&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Subgiants&amp;quot;); rotate=angle, depth=1, color=&amp;quot;black&amp;quot;), log10(11500)-3, 3.15);&lt;br /&gt;
% Supergiants:&lt;br /&gt;
xfig.shade_region((0.35*cos(phi)+log10(8)),(0.75*sin(phi)+4.75); width=0, depth=3, color=&amp;quot;blue&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Supergiants&amp;quot;, log10(8), 4.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% Giants:&lt;br /&gt;
xfig.shade_region((0.15*cos(phi)+log10(4.5)),(0.75*sin(phi)+2.75); width=0, depth=3, color=&amp;quot;red&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Giants&amp;quot;, log10(4.5), 2.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% White dwarfs&lt;br /&gt;
xfig.shade_region([0.1,0.2,0.4,0.3,0.2],[0.1,0.0,0.0,0.1,0.2]; width=0, depth=3, color=&amp;quot;powderblue&amp;quot;, world00);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;White&amp;quot;, log10(26), -0.05, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;dwarfs&amp;quot;, log10(28), -0.45, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
% -----&lt;br /&gt;
xfig.render(&amp;quot;HR_diagram.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1155</id>
		<title>Hertzsprung-Russell diagram (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1155"/>
		<updated>2018-04-17T11:46:36Z</updated>

		<summary type="html">&lt;p&gt;Niu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hertzsprung-Russell diagram ==&lt;br /&gt;
[[File:Hr_diagram.png|center|500px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% -------------&lt;br /&gt;
% axes, labels:&lt;br /&gt;
variable xfig = xfig_plot_new(12,9);&lt;br /&gt;
variable xmin = log10(3), xmax = log10(47), ymin = -1., ymax = 7.; % x-axis is in kilo Kelvin&lt;br /&gt;
xfig.world(xmax, xmin, ymin, ymax);&lt;br /&gt;
xfig.axis(; ticlabels2=0, ticlabels_confine=0);&lt;br /&gt;
variable xmajor = log10([5:45:5]);&lt;br /&gt;
variable xminor = log10([1:50:1]);&lt;br /&gt;
variable x2major = [ymin:ymax:0.1];&lt;br /&gt;
variable x2minor = [ymin:ymax:0.02];&lt;br /&gt;
xfig.axis(; depth=0, tic_depth=0, ticlabels_confine=0);&lt;br /&gt;
xfig.x1axis(; ticlabels=[&amp;quot;O&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;A&amp;quot;,&amp;quot;F&amp;quot;,&amp;quot;G&amp;quot;,&amp;quot;K&amp;quot;,&amp;quot;M&amp;quot;], major=log10([32,18,10,7,5.5,4.25,3.25]), major_width=0);&lt;br /&gt;
xfig.xlabel(&amp;quot;Spectral class&amp;quot;);&lt;br /&gt;
xfig.x2axis(; ticlabels=[&amp;quot;5&amp;quot;,&amp;quot;10&amp;quot;,&amp;quot;15&amp;quot;,&amp;quot;20&amp;quot;,&amp;quot;25&amp;quot;,&amp;quot;30&amp;quot;,&amp;quot;35&amp;quot;,&amp;quot;40&amp;quot;,&amp;quot;45&amp;quot;R], major=xmajor, minor=xminor, format=&amp;quot;%.0f&amp;quot;);&lt;br /&gt;
xfig.x2label(&amp;quot;$T_{\mathrm{eff}}\,(10^3\,\mathrm{K})$&amp;quot;R);&lt;br /&gt;
xfig.y2axis(; ticlabels=0);&lt;br /&gt;
xfig.ylabel(&amp;quot;$\log (L/{L}_{\odot})$&amp;quot;R);&lt;br /&gt;
% -------------&lt;br /&gt;
% --------------------&lt;br /&gt;
% evolutionary tracks:&lt;br /&gt;
% from Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
variable tracks = struct{ m1, m3, m7, m20 };&lt;br /&gt;
tracks.m1 = struct{ log_teff, log_l }; % track for 1 solar mass&lt;br /&gt;
tracks.m3 = struct{ log_teff, log_l }; % track for 3 solar mass&lt;br /&gt;
tracks.m7 = struct{ log_teff, log_l }; % track for 7 solar mass&lt;br /&gt;
tracks.m20 = struct{ log_teff, log_l }; % track for 20 solar mass&lt;br /&gt;
tracks.m1.log_teff = [3.754330,3.755300,3.755330,3.755400,3.755480,3.755580,3.755700,3.755810,3.755940,3.756070,3.756190,3.756330,3.756470,3.756610,3.756730,3.756860,3.757000,3.757150,3.757270,3.757420,3.757570,3.757700,3.757850,&lt;br /&gt;
		      3.757980,3.758140,3.758270,3.758420,3.758580,3.758710,3.758870,3.759000,3.759140,3.759290,3.759430,3.759610,3.759770,3.759930,3.760120,3.760280,3.760440,3.760600,3.760780,3.760940,3.761100,3.761250,3.761410,&lt;br /&gt;
		      3.761560,3.761670,3.761800,3.761950,3.762060,3.762180,3.762300,3.762410,3.762520,3.762620,3.762750,3.762820,3.762880,3.762950,3.763020,3.763080,3.763140,3.763190,3.763240,3.763290,3.763330,3.763370,3.763400,&lt;br /&gt;
		      3.763430,3.763450,3.763470,3.763480,3.763490,3.763480,3.763470,3.763450,3.763410,3.763360,3.763290,3.763220,3.763140,3.763040,3.762940,3.762850,3.762800,3.762770,3.762750,3.762730,3.762680,3.762650,3.762630,&lt;br /&gt;
		      3.762610,3.762560,3.762530,3.762480,3.762460,3.762410,3.762390,3.762350,3.762300,3.762280,3.762230,3.762180,3.762120,3.762070,3.762010,3.761920,3.761860,3.761740,3.761640,3.761580,3.761520,3.761450,3.761440,&lt;br /&gt;
		      3.761400,3.761350,3.761300,3.761230,3.761170,3.761100,3.761030,3.760930,3.760850,3.760760,3.760650,3.760490,3.760360,3.760230,3.760080,3.759870,3.759710,3.759530,3.759340,3.759070,3.758850,3.758620,3.758370,&lt;br /&gt;
		      3.758020,3.757730,3.757430,3.757110,3.756620,3.756230,3.755810,3.755370,3.754740,3.754240,3.753690,3.753120,3.752290,3.751620,3.750900,3.750130,3.749010,3.748020,3.746900,3.745720,3.743960,3.742490,3.740860,&lt;br /&gt;
		      3.739060,3.737080,3.734070,3.731440,3.728450,3.724750,3.718820,3.713870,3.709260,3.703280,3.697400,3.692710,3.688030,3.684480,3.682560,3.680620,3.678870,3.677430,3.676030,3.674470,3.672500,3.670030,3.667120,&lt;br /&gt;
		      3.663040,3.656530,3.647770,3.646700,3.626800,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410];&lt;br /&gt;
tracks.m1.log_l = [-0.138050,-0.129380,-0.126810,-0.124360,-0.122260,-0.119770,-0.117260,-0.114720,-0.112130,-0.109510,-0.107250,-0.104540,-0.101830,-0.099090,-0.096690,-0.093890,-0.091050,-0.088180,-0.085690,-0.082760,-0.079800,&lt;br /&gt;
		   -0.077230,-0.074220,-0.071610,-0.068540,-0.065890,-0.062750,-0.059600,-0.056880,-0.053670,-0.050910,-0.048120,-0.044830,-0.042000,-0.038660,-0.035760,-0.032850,-0.029430,-0.026470,-0.023490,-0.020480,-0.016960,&lt;br /&gt;
		   -0.013920,-0.010850,-0.007770,-0.004660,-0.001540,0.001590,0.004760,0.008470,0.011680,0.014910,0.018160,0.020890,0.024180,0.027500,0.030830,0.034170,0.037550,0.040950,0.044380,0.047800,0.051270,0.054190,0.057710,&lt;br /&gt;
		   0.061270,0.064840,0.068450,0.072080,0.075120,0.078800,0.082480,0.086200,0.089300,0.093030,0.096140,0.099880,0.102980,0.106070,0.109160,0.112220,0.115260,0.118280,0.121310,0.123730,0.124950,0.125560,0.126180,&lt;br /&gt;
		   0.126790,0.128040,0.128660,0.129290,0.129920,0.131190,0.131840,0.133140,0.133800,0.135130,0.135810,0.137170,0.138550,0.139250,0.140630,0.142070,0.144260,0.145740,0.148010,0.151080,0.153420,0.157380,0.160590,&lt;br /&gt;
		   0.163010,0.165420,0.167860,0.171150,0.173650,0.176170,0.178710,0.182130,0.184720,0.187330,0.189970,0.193520,0.196210,0.198920,0.201650,0.205330,0.208130,0.210940,0.213780,0.217610,0.220520,0.223440,0.226400,&lt;br /&gt;
		   0.230380,0.233390,0.236430,0.239500,0.243630,0.246750,0.249900,0.253070,0.257320,0.260540,0.263770,0.267020,0.271370,0.274650,0.277930,0.281210,0.285580,0.288840,0.292080,0.295300,0.299510,0.302540,0.305550,&lt;br /&gt;
		   0.308480,0.312160,0.314740,0.317060,0.319060,0.320830,0.322500,0.322870,0.322620,0.321470,0.318760,0.316620,0.315640,0.317440,0.324700,0.337600,0.362110,0.393770,0.418910,0.461060,0.504440,0.550130,0.604380,&lt;br /&gt;
		   0.664270,0.729320,0.807500,0.897740,1.007900,1.152030,1.342320,1.390360,1.719880,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140];&lt;br /&gt;
tracks.m3.log_teff = [4.104477,4.101130,4.098784,4.096932,4.095520,4.094152,4.092906,4.091568,4.090532,4.089462,4.088575,4.087603,4.086631,4.085654,4.084584,4.083618,4.082794,4.081863,4.080880,4.079909,4.078954,4.077811,4.076814,&lt;br /&gt;
		      4.075977,4.074953,4.073932,4.072905,4.071846,4.070604,4.069515,4.068425,4.067474,4.066353,4.065180,4.063810,4.062611,4.061387,4.060169,4.058875,4.057809,4.056518,4.054984,4.053684,4.052311,4.050895,4.049511,&lt;br /&gt;
		      4.048311,4.046844,4.045140,4.043617,4.042110,4.040580,4.038967,4.037586,4.035944,4.034328,4.032409,4.030733,4.028975,4.027469,4.025674,4.023859,4.022054,4.019996,4.018106,4.016439,4.014562,4.012628,4.010719,&lt;br /&gt;
		      4.008746,4.006818,4.004866,4.002865,4.000890,3.998964,3.997042,3.995170,3.993303,3.991514,3.989837,3.988263,3.986853,3.985639,3.984805,3.984479,3.984499,3.984547,3.984648,3.984781,3.984972,3.985252,3.985549,&lt;br /&gt;
		      3.985906,3.986334,3.986842,3.987464,3.988192,3.989086,3.990155,3.991399,3.992620,3.994326,3.996373,3.998494,4.001379,4.005055,4.009778,4.015627,4.024013,4.035578,4.027620,4.019198,4.014199,4.010884,4.008090,&lt;br /&gt;
		      4.005473,4.003593,4.001870,3.999673,3.998636,3.996650,3.995367,3.992839,3.991586,3.990325,3.988684,3.987023,3.985322,3.983579,3.981786,3.981786,3.979712,3.977541,3.975261,3.972866,3.970342,3.970342,3.967673,&lt;br /&gt;
		      3.964838,3.961813,3.958571,3.955076,3.955076,3.952064,3.948853,3.941737,3.937805,3.933549,3.928990,3.924054,3.918705,3.912862,3.907195,3.901103,3.894541,3.887346,3.879446,3.861010,3.850280,3.838353,3.824996,&lt;br /&gt;
		      3.807248,3.797427,3.777874,3.762034,3.748710,3.736734,3.724115,3.715732,3.707236,3.696032,3.686913,3.681703,3.677099,3.672587,3.668592,3.665801,3.663002,3.659846,3.657180,3.654128,3.651128,3.648095,3.645231,&lt;br /&gt;
		      3.642391,3.639711,3.637484,3.634593,3.632145,3.635666,3.641828,3.643987,3.646684,3.649874,3.652920,3.657066,3.660748,3.664139,3.667093,3.671135,3.674116,3.678197,3.680127,3.682554,3.684970,3.687178,3.688573,&lt;br /&gt;
		      3.690152,3.693206,3.695129,3.696329,3.697237,3.697691,3.697918,3.697847,3.697883,3.697758,3.697609,3.697464,3.697333,3.697136,3.697183,3.697142,3.697143,3.697211,3.697227,3.697261,3.697284,3.697322,3.697328,&lt;br /&gt;
		      3.697378,3.697393,3.697317,3.697438,3.697463,3.697494,3.697490,3.697448,3.697510,3.697517,3.697539,3.697554,3.697560,3.697585,3.697587,3.697635,3.697641,3.697657,3.697695,3.697711,3.697749,3.697767,3.697795,&lt;br /&gt;
		      3.697817,3.697833,3.697856,3.697868,3.697910,3.697926,3.697937,3.697953,3.697917,3.697939,3.697946,3.698006,3.697967,3.697968,3.697975,3.697975,3.697966,3.697966,3.698002,3.698044,3.698057,3.698066,3.698132,&lt;br /&gt;
		      3.698023,3.698025,3.697961,3.698303,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,&lt;br /&gt;
		      3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,&lt;br /&gt;
		      3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,&lt;br /&gt;
		      3.698114,3.698114,3.698114,3.698114,3.698114,3.697860,3.697296,3.697150,3.696984,3.696565,3.696449,3.696182,3.695561,3.695231,3.694880,3.694011,3.693476,3.692530,3.691571,3.690567,3.688184,3.686590,3.684183,&lt;br /&gt;
		      3.680467,3.664628];&lt;br /&gt;
tracks.m3.log_l = [1.898976,1.898157,1.900368,1.903228,1.906229,1.909473,1.912669,1.915631,1.919331,1.922666,1.926119,1.929846,1.933160,1.936508,1.940077,1.943397,1.946812,1.950456,1.953744,1.956987,1.960515,1.963574,1.966817,1.970432,&lt;br /&gt;
		   1.973557,1.976631,1.980111,1.983128,1.986004,1.989179,1.992273,1.995433,1.998425,2.001378,2.004035,2.006924,2.009910,2.012560,2.015303,2.018372,2.020963,2.023431,2.026095,2.028576,2.031044,2.033705,2.036241,2.038570,&lt;br /&gt;
		   2.040540,2.043114,2.045241,2.047596,2.049719,2.051901,2.054142,2.056032,2.057709,2.059767,2.061599,2.063530,2.065377,2.067040,2.068619,2.070105,2.071634,2.073346,2.074828,2.076166,2.077634,2.078898,2.080094,2.081460,&lt;br /&gt;
		   2.082636,2.083775,2.085083,2.086236,2.087446,2.088730,2.089970,2.091433,2.092853,2.094588,2.096468,2.098816,2.101593,2.102334,2.102991,2.103922,2.104768,2.105640,2.106693,2.107692,2.108753,2.109920,2.111194,2.112641,&lt;br /&gt;
		   2.114297,2.116148,2.118172,2.120395,2.122534,2.125387,2.128790,2.132439,2.137256,2.142846,2.150769,2.160729,2.175909,2.197592,2.175125,2.185301,2.197447,2.202487,2.205639,2.208038,2.209410,2.210467,2.211650,2.212162,&lt;br /&gt;
		   2.213094,2.213552,2.214353,2.214709,2.215033,2.215437,2.215775,2.216047,2.216275,2.216510,2.216510,2.216610,2.216638,2.216595,2.216464,2.216231,2.216231,2.215881,2.215414,2.214775,2.213947,2.212979,2.212979,2.211950,&lt;br /&gt;
		   2.210762,2.207781,2.205965,2.203840,2.201414,2.198580,2.195333,2.191549,2.187744,2.183283,2.178384,2.172654,2.165949,2.149017,2.138421,2.126120,2.111449,2.090319,2.077763,2.047863,2.010163,1.962986,1.910611,1.839891,&lt;br /&gt;
		   1.803651,1.793080,1.821048,1.881206,1.940541,1.987798,2.033413,2.077010,2.113085,2.150113,2.187340,2.223158,2.261067,2.296868,2.333229,2.370631,2.407406,2.441670,2.479107,2.513618,2.542172,2.501533,2.418088,2.390079,&lt;br /&gt;
		   2.357468,2.324004,2.289329,2.246575,2.195523,2.155987,2.112991,2.068237,2.034009,1.994281,1.971123,1.949987,1.930177,1.912312,1.904220,1.896871,1.889495,1.888052,1.888889,1.890312,1.891323,1.892204,1.892774,1.893772,&lt;br /&gt;
		   1.894377,1.895038,1.895777,1.896499,1.897036,1.898205,1.899111,1.900117,1.901103,1.902077,1.902980,1.904079,1.904962,1.905917,1.906815,1.907734,1.908249,1.909652,1.910666,1.911600,1.912941,1.913630,1.914763,1.915684,&lt;br /&gt;
		   1.916661,1.917600,1.918530,1.919604,1.920576,1.921636,1.922639,1.923660,1.925384,1.926319,1.927370,1.928294,1.929379,1.930928,1.932756,1.933701,1.934644,1.938850,1.939751,1.940648,1.941545,1.942451,1.943542,1.944417,&lt;br /&gt;
		   1.945651,1.946251,1.947151,1.948034,1.948879,1.949817,1.950968,1.952394,1.953985,1.955612,1.957425,1.961586,1.962245,1.963240,1.964008,1.978211,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,&lt;br /&gt;
		   1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,&lt;br /&gt;
		   1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,&lt;br /&gt;
		   1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.984200,1.993446,1.997043,2.000126,2.007648,2.010280,2.012891,2.019092,2.020792,2.024098,&lt;br /&gt;
		   2.028754,2.030630,2.034344,2.034319,2.035530,2.044368,2.048004,2.053374,2.067782,2.196314];&lt;br /&gt;
tracks.m7.log_teff = [4.332096,4.328320,4.326038,4.324511,4.323259,4.322116,4.321212,4.320357,4.319573,4.318899,4.318188,4.317513,4.316760,4.316124,4.315453,4.314796,4.314137,4.313486,4.312861,4.312146,4.311447,4.310766,4.310062,&lt;br /&gt;
		      4.309355,4.308616,4.307887,4.307114,4.306342,4.305527,4.304748,4.303917,4.303072,4.302205,4.301346,4.300464,4.299560,4.298623,4.297675,4.296707,4.295747,4.294726,4.293709,4.292675,4.291631,4.290535,4.289442,&lt;br /&gt;
		      4.288291,4.287137,4.285987,4.284830,4.283688,4.282377,4.281137,4.279848,4.278558,4.277258,4.275919,4.274649,4.273265,4.271796,4.270365,4.268891,4.267504,4.266029,4.264506,4.262972,4.261453,4.259881,4.258287,&lt;br /&gt;
		      4.256736,4.255117,4.253564,4.251932,4.250330,4.248753,4.247167,4.245650,4.244133,4.242741,4.241340,4.240085,4.239005,4.238083,4.237530,4.237449,4.237502,4.237544,4.237651,4.237784,4.237949,4.238114,4.238347,&lt;br /&gt;
		      4.238624,4.238950,4.239345,4.239774,4.240287,4.240864,4.241547,4.242350,4.243391,4.244668,4.245955,4.247738,4.249902,4.252660,4.256188,4.261033,4.268576,4.278758,4.276700,4.271091,4.264163,4.257535,4.251551,&lt;br /&gt;
		      4.246792,4.242080,4.238544,4.233549,4.230376,4.227304,4.222256,4.218787,4.215385,4.213696,4.210338,4.206665,4.202654,4.198614,4.196575,4.192425,4.188184,4.186028,4.181635,4.177107,4.174761,4.169952,4.167482,&lt;br /&gt;
		      4.162382,4.157073,4.154295,4.148542,4.142472,4.139310,4.132646,4.125541,4.121834,4.114001,4.105536,4.101063,4.091519,4.081102,4.075528,4.063547,4.050320,4.043161,4.030129,4.018452,3.998943,3.984378,3.968375,&lt;br /&gt;
		      3.943353,3.921980,3.891749,3.865308,3.826374,3.779667,3.725678,3.681198,3.656651,3.641506,3.627405,3.613375,3.607156,3.604405,3.602538,3.601806,3.599727,3.599603,3.600013,3.599306,3.598872,3.597960,3.597543,&lt;br /&gt;
		      3.597011,3.596631,3.596427,3.596191,3.595973,3.595834,3.597160,3.598375,3.599965,3.600833,3.600831,3.601515,3.602871,3.605483,3.606549,3.605555,3.607951,3.610090,3.611943,3.613236,3.614876,3.616421,3.617434,&lt;br /&gt;
		      3.618779,3.621073,3.622618,3.622776,3.623235,3.623353,3.623821,3.623997,3.624226,3.625528,3.625735,3.625954,3.626158,3.626497,3.626846,3.627171,3.627456,3.627730,3.627993,3.628300,3.628602,3.628912,3.629263,&lt;br /&gt;
		      3.630437,3.630933,3.631360,3.631842,3.632390,3.633723,3.634783,3.665681,3.683321,3.703236,3.723511,3.739929,3.752854,3.762691,3.771399,3.778577,3.785004,3.790939,3.796565,3.802501,3.807311,3.811833,3.815278,&lt;br /&gt;
		      3.818532,3.876135,3.877868,3.879691,3.881684,3.883706,3.886060,3.887932,3.890105,3.892588,3.894283,3.895841,3.897358,3.898810,3.900199,3.901722,3.903171,3.904857,3.906437,3.908123,3.909673,3.912379,3.913959,&lt;br /&gt;
		      3.915249,3.916732,3.918209,3.966178,3.966115,3.965955,3.965722,3.965449,3.965165,3.964824,3.964451,3.964058,3.963271,3.963075,3.962749,3.962339,3.961805,3.961155,3.960438,3.959722,3.959019,3.958136,3.957191,&lt;br /&gt;
		      3.956146,3.955251,3.954283,3.953136,3.951916,3.950582,3.949186,3.947747,3.946258,3.944704,3.943043,3.941355,3.939590,3.937691,3.935705,3.933664,3.931502,3.929228,3.926949,3.924556,3.922072,3.919503,3.916736,&lt;br /&gt;
		      3.913864,3.910855,3.907689,3.904399,3.900891,3.897316,3.893520,3.889467,3.885164,3.880593,3.875572,3.870274,3.864655,3.858520,3.851880,3.844598,3.836846,3.827031,3.816640,3.804874,3.791261,3.774941,3.754821,&lt;br /&gt;
		      3.729229,3.695042,3.659592,3.643731,3.627150,3.626133,3.625057,3.624490,3.623345,3.622775,3.621631,3.621054,3.619903,3.619290,3.618071,3.617455,3.616156,3.614861,3.614229,3.612866,3.612142,3.610937,3.610142,&lt;br /&gt;
		      3.610602,3.602978];&lt;br /&gt;
tracks.m7.log_l = [3.220316,3.222236,3.225934,3.229981,3.234307,3.238596,3.242995,3.247321,3.251924,3.256357,3.260792,3.265291,3.269632,3.274029,3.278296,3.282821,3.286990,3.291400,3.295676,3.299967,3.304149,3.308462,3.312527,&lt;br /&gt;
		   3.316832,3.320878,3.325039,3.329032,3.333184,3.337169,3.341168,3.345029,3.349119,3.352956,3.356905,3.360594,3.364509,3.368194,3.372097,3.375746,3.379510,3.383115,3.386828,3.390284,3.393923,3.397403,3.400997,&lt;br /&gt;
		   3.404437,3.407898,3.411295,3.414547,3.418016,3.421233,3.424598,3.427808,3.431126,3.434182,3.437394,3.440545,3.443572,3.446675,3.449643,3.452622,3.455812,3.458679,3.461540,3.464590,3.467340,3.470130,3.472974,&lt;br /&gt;
		   3.475755,3.478522,3.481117,3.484004,3.486664,3.489290,3.491944,3.494787,3.497446,3.500011,3.502895,3.505690,3.508442,3.511563,3.514660,3.517971,3.518808,3.519594,3.520310,3.521011,3.521737,3.522363,3.523141,&lt;br /&gt;
		   3.523951,3.524827,3.525737,3.526626,3.527718,3.528864,3.529965,3.531167,3.532609,3.534299,3.535914,3.538223,3.540880,3.544190,3.548222,3.554541,3.565152,3.583014,3.576169,3.563020,3.554800,3.556295,3.564870,&lt;br /&gt;
		   3.573734,3.582066,3.587452,3.593816,3.597135,3.599927,3.603747,3.605914,3.607810,3.608631,3.610085,3.611448,3.612663,3.613631,3.614050,3.614736,3.615239,3.615435,3.615717,3.615799,3.615779,3.615642,3.615516,&lt;br /&gt;
		   3.615084,3.614467,3.614084,3.613218,3.612078,3.611389,3.609764,3.607780,3.606682,3.604167,3.601164,3.599452,3.595528,3.590906,3.588274,3.582331,3.575291,3.571276,3.563641,3.556470,3.543681,3.533634,3.522214,&lt;br /&gt;
		   3.503631,3.486943,3.462564,3.440832,3.408274,3.368361,3.318280,3.239048,3.170775,3.203994,3.295598,3.433337,3.496761,3.530118,3.551234,3.561025,3.575027,3.587653,3.598804,3.611776,3.618321,3.631116,3.636021,&lt;br /&gt;
		   3.645658,3.653961,3.659961,3.663939,3.667343,3.669468,3.652996,3.633136,3.615651,3.603901,3.591752,3.576569,3.562458,3.550026,3.537842,3.523101,3.509558,3.495461,3.483123,3.474772,3.467494,3.461328,3.455866,&lt;br /&gt;
		   3.452826,3.448147,3.447262,3.447461,3.447566,3.447692,3.448052,3.448105,3.448606,3.450289,3.450684,3.451125,3.451498,3.452573,3.453145,3.453837,3.454481,3.455146,3.455889,3.456769,3.457614,3.458545,3.459693,&lt;br /&gt;
		   3.463869,3.465136,3.466698,3.468591,3.470875,3.477056,3.480336,3.567194,3.579202,3.588661,3.595847,3.601208,3.605330,3.608748,3.611829,3.614628,3.617675,3.620322,3.623573,3.626370,3.628592,3.631104,3.633412,&lt;br /&gt;
		   3.634879,3.667375,3.668497,3.669818,3.671017,3.672650,3.673945,3.675235,3.676565,3.678166,3.679165,3.680143,3.681254,3.682227,3.683366,3.684341,3.685334,3.686696,3.687644,3.689088,3.689945,3.692384,3.693152,&lt;br /&gt;
		   3.693934,3.695269,3.696366,3.726207,3.726218,3.726268,3.726353,3.726449,3.726525,3.726563,3.726617,3.726728,3.727225,3.727205,3.727169,3.727039,3.726874,3.726738,3.726605,3.726719,3.726471,3.726221,3.725983,&lt;br /&gt;
		   3.725856,3.725869,3.725482,3.725105,3.724742,3.724375,3.723998,3.723633,3.723204,3.722754,3.722301,3.721821,3.721268,3.720674,3.719999,3.719381,3.718731,3.717999,3.717337,3.716520,3.715740,3.714836,3.713875,&lt;br /&gt;
		   3.712960,3.711882,3.710743,3.709566,3.708307,3.707170,3.705678,3.704111,3.702612,3.700703,3.698742,3.696672,3.694619,3.692034,3.689234,3.686435,3.682163,3.677869,3.673341,3.667844,3.661392,3.653430,3.643164,&lt;br /&gt;
		   3.629464,3.608824,3.573459,3.518706,3.465240,3.465535,3.466360,3.466996,3.468742,3.469831,3.472490,3.474027,3.477530,3.480029,3.484467,3.486669,3.492091,3.497817,3.500731,3.507212,3.510760,3.518050,3.523789,&lt;br /&gt;
		   3.538654,3.590785];&lt;br /&gt;
tracks.m20.log_teff = [4.553253,4.549346,4.547174,4.545685,4.544487,4.543546,4.542704,4.541930,4.541199,4.540501,4.539833,4.539180,4.538523,4.537867,4.537208,4.536548,4.535864,4.535171,4.534479,4.533819,4.533099,4.532349,4.531685,&lt;br /&gt;
		       4.530858,4.530091,4.529258,4.528381,4.527510,4.526607,4.525624,4.524617,4.523586,4.522501,4.521398,4.520290,4.519143,4.517971,4.516772,4.515485,4.514221,4.512837,4.511507,4.510101,4.508667,4.507198,4.505676,&lt;br /&gt;
		       4.504136,4.502523,4.500856,4.499166,4.497491,4.495733,4.493921,4.492090,4.490113,4.488147,4.486238,4.484147,4.482163,4.479980,4.477843,4.475607,4.473299,4.471034,4.468654,4.466329,4.463757,4.461328,4.458638,&lt;br /&gt;
		       4.456110,4.453542,4.450639,4.447997,4.445199,4.442406,4.439610,4.436652,4.433856,4.430981,4.428301,4.425631,4.423303,4.421079,4.419665,4.417133,4.417171,4.417249,4.417350,4.417494,4.417629,4.417839,4.418064,&lt;br /&gt;
		       4.418213,4.418508,4.418812,4.419100,4.419612,4.420245,4.420835,4.421696,4.422720,4.423804,4.424998,4.426548,4.428610,4.431079,4.434245,4.438862,4.446238,4.466819,4.466818,4.466795,4.466869,4.466593,4.465954,&lt;br /&gt;
		       4.464978,4.463753,4.460943,4.459266,4.457600,4.455811,4.454226,4.452252,4.450122,4.447809,4.445428,4.440841,4.438668,4.436202,4.433690,4.429020,4.426507,4.423976,4.421396,4.416259,4.413662,4.411091,4.408434,&lt;br /&gt;
		       4.405806,4.400451,4.397710,4.394906,4.392073,4.386325,4.383410,4.380459,4.377478,4.371463,4.368414,4.365331,4.362171,4.359369,4.353332,4.350270,4.347179,4.344057,4.337768,4.334598,4.331373,4.328118,4.321521,&lt;br /&gt;
		       4.318163,4.314773,4.311343,4.304390,4.300861,4.297283,4.293637,4.289962,4.282533,4.278783,4.274971,4.271118,4.263665,4.261759,4.255988,4.252112,4.246432,4.243446,4.239031,4.233549,4.230085,4.224989,4.220862,&lt;br /&gt;
		       4.216878,4.212944,4.209174,4.205576,4.202151,4.198862,4.110521,4.089470,4.074724,4.062205,4.049360,4.034826,4.016791,3.997607,3.977317,3.957115,3.928374,3.903048,3.876210,3.850041,3.808092,3.734719,3.576925,&lt;br /&gt;
		       3.571743,3.571057,3.570602,3.570459,3.570285,3.570244,3.570004,3.570037,3.570028,3.569749,3.569502,3.569621,3.569551,3.569749,3.569678,3.569698,3.568869,3.568953,3.568850,3.568921,3.568871,3.568696,3.568741,&lt;br /&gt;
		       3.568656,3.568812,3.568712,3.568734,3.568659,3.568854,3.568885,3.568692,3.568926,3.568882,3.568797,3.568945,3.568887,3.569005,3.568945,3.568872,3.569075,3.569540,3.569856,3.569869,3.569758,3.569846,3.569960,&lt;br /&gt;
		       3.569608,3.569670,3.569800,3.569511,3.569921,3.570298,3.570322,3.570332,3.570586,3.570489,3.571143,3.571122,3.571005,3.570983,3.571283,3.571207,3.571646,3.572005,3.572294,3.572640,3.572454,3.572985,3.573242,&lt;br /&gt;
		       3.573122,3.573409,3.573730,3.573847,3.574047,3.574057,3.574320,3.574750,3.574671,3.574629,3.574749,3.574825,3.575110,3.575288,3.575142,3.575135,3.575430,3.575209,3.575085,3.574964,3.575442,3.575474,3.575504,&lt;br /&gt;
		       3.575606,3.575859,3.575655,3.575990,3.576159,3.575925,3.575717,3.576006,3.575427,3.575602,3.575647,3.575675,3.575689,3.575680,3.575821,3.575970,3.575801,3.575997,3.575863,3.575829,3.575950,3.576194,3.576241,&lt;br /&gt;
		       3.576257,3.576189,3.576174,3.576303,3.576327,3.576308,3.576258,3.576341,3.576527,3.576310,3.576297,3.576468,3.576551,3.576468,3.576504,3.576346,3.576391,3.576517,3.576198,3.576264,3.576354,3.576364,3.576172,&lt;br /&gt;
		       3.576042,3.576061,3.575789,3.575548,3.574428,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,&lt;br /&gt;
		       3.574141,3.572871];&lt;br /&gt;
tracks.m20.log_l = [4.614872,4.619018,4.623463,4.628064,4.632737,4.637466,4.642282,4.646902,4.651751,4.656385,4.661088,4.665791,4.670511,4.675113,4.679815,4.684374,4.688887,4.693485,4.698080,4.702542,4.707066,4.711544,4.715935,&lt;br /&gt;
		    4.720303,4.724738,4.729042,4.733292,4.737656,4.741863,4.746114,4.750368,4.754505,4.758829,4.762955,4.767060,4.771277,4.775252,4.779310,4.783414,4.787365,4.791604,4.795450,4.799393,4.803348,4.807345,4.811222,&lt;br /&gt;
		    4.815075,4.819143,4.822897,4.826832,4.830508,4.834208,4.838174,4.841852,4.845683,4.849399,4.853005,4.856893,4.860380,4.864053,4.867646,4.871420,4.875058,4.878547,4.882123,4.885772,4.889355,4.892642,4.896518,&lt;br /&gt;
		    4.899881,4.903175,4.906892,4.910362,4.913800,4.917309,4.920896,4.924358,4.927805,4.931261,4.934769,4.938316,4.941806,4.945487,4.949152,4.953346,4.953955,4.954392,4.954824,4.955324,4.955727,4.956250,4.956724,&lt;br /&gt;
		    4.957139,4.957825,4.958402,4.959010,4.959752,4.960451,4.961028,4.961796,4.962637,4.963474,4.964382,4.965509,4.966926,4.968583,4.970716,4.973939,4.979591,5.001445,5.001124,5.001037,5.001511,5.001620,5.001418,&lt;br /&gt;
		    5.000994,5.000533,4.999532,4.999009,4.998868,4.998832,4.999701,5.000112,5.000569,5.000940,5.001460,5.002370,5.003414,5.003940,5.004542,5.007079,5.008093,5.009222,5.010330,5.012720,5.013875,5.015108,5.016161,&lt;br /&gt;
		    5.017312,5.019459,5.020446,5.021411,5.022304,5.023958,5.024722,5.025430,5.026101,5.027445,5.028046,5.028629,5.029155,5.030731,5.032783,5.033671,5.034464,5.035161,5.036341,5.036911,5.037367,5.037756,5.038404,&lt;br /&gt;
		    5.038645,5.038963,5.039237,5.039694,5.039913,5.040099,5.040396,5.040617,5.041060,5.041325,5.041635,5.041972,5.043553,5.043777,5.044529,5.045130,5.046146,5.046747,5.047740,5.049107,5.050077,5.051664,5.053038,&lt;br /&gt;
		    5.054470,5.055889,5.057324,5.058754,5.060176,5.061554,5.079041,5.077968,5.076456,5.075491,5.074597,5.073595,5.072307,5.071644,5.070583,5.069726,5.068636,5.068058,5.068567,5.069077,5.068065,5.064140,5.031244,&lt;br /&gt;
		    5.035243,5.035701,5.035921,5.036062,5.036010,5.036046,5.036147,5.036309,5.036548,5.036525,5.036667,5.036822,5.036834,5.037020,5.037013,5.037229,5.036882,5.037137,5.037262,5.037391,5.037315,5.037339,5.037681,&lt;br /&gt;
		    5.037828,5.037975,5.038057,5.038071,5.038007,5.038149,5.038147,5.038148,5.038245,5.038156,5.038130,5.038445,5.038370,5.038665,5.038515,5.038405,5.038626,5.038808,5.038602,5.038637,5.038637,5.038579,5.038594,&lt;br /&gt;
		    5.038617,5.038437,5.038473,5.037165,5.037742,5.039143,5.038086,5.037764,5.037443,5.037571,5.037662,5.037592,5.037355,5.037118,5.036936,5.036902,5.036804,5.036570,5.036718,5.036260,5.035812,5.035607,5.035755,&lt;br /&gt;
		    5.034917,5.034217,5.034203,5.033397,5.032968,5.032967,5.033404,5.032948,5.032644,5.032308,5.032250,5.032060,5.032566,5.031949,5.031713,5.031621,5.031498,5.031133,5.031457,5.030324,5.031045,5.030560,5.030498,&lt;br /&gt;
		    5.030130,5.030258,5.029916,5.029750,5.030537,5.029141,5.028812,5.029400,5.029178,5.029342,5.029554,5.028975,5.028874,5.028878,5.028918,5.029124,5.028626,5.028719,5.028838,5.028839,5.028714,5.028546,5.028391,&lt;br /&gt;
		    5.028626,5.028693,5.028537,5.028599,5.028749,5.028970,5.028942,5.028997,5.029142,5.029036,5.029335,5.029563,5.029759,5.029464,5.030334,5.030595,5.030709,5.031510,5.031447,5.031968,5.032612,5.033531,5.034031,&lt;br /&gt;
		    5.034918,5.036393,5.037789,5.040777,5.056702,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,&lt;br /&gt;
		    5.058582,5.177863];&lt;br /&gt;
variable mass;&lt;br /&gt;
foreach mass (get_struct_field_names(tracks))&lt;br /&gt;
{&lt;br /&gt;
  variable track = get_struct_field(tracks, mass);&lt;br /&gt;
  xfig_plot_text( xfig, sprintf(&amp;quot;$%s\\,M_{\\odot}$&amp;quot;, strreplace(mass,&amp;quot;m&amp;quot;,&amp;quot;&amp;quot;)), track.log_teff[0]-3, track.log_l[0], .1, 1.; size=&amp;quot;small&amp;quot;, depth=2, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
  xfig.plot(track.log_teff[[0:108:1]]-3,track.log_l[[0:108:1]]; depth=2, color=&amp;quot;black&amp;quot;); % hydrogen core burning =&amp;gt; main-sequence phase&lt;br /&gt;
  xfig.plot(track.log_teff[[109:369:1]]-3,track.log_l[[109:369:1]]; depth=2, color=&amp;quot;gray&amp;quot;); % post main-sequence phase&lt;br /&gt;
}&lt;br /&gt;
% --------------------&lt;br /&gt;
% -----&lt;br /&gt;
variable phi = [0:2*PI:#360];&lt;br /&gt;
% Sun:&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;$\\odot$&amp;quot;, log10(5785)-3, 0, 0, 0; size=&amp;quot;large&amp;quot;, depth=1, color=&amp;quot;goldenrod&amp;quot;);&lt;br /&gt;
% Dwarfs:&lt;br /&gt;
variable angle = -33; % value depends on aspect ratio of figure&lt;br /&gt;
variable zams = struct{ log_teff, log_l }; % zero-age main sequence according to Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
zams.log_teff = [3.688210,3.724350,3.754330,3.779290,3.803820,3.824326,3.856430,3.909891,3.972774,4.048683,4.104477,4.186443,4.247069,4.332096,4.391638,4.456053,4.501169,4.553253,4.588704,4.623051,4.649728,4.689020,4.713497,4.729690];&lt;br /&gt;
zams.log_l = [-0.590900,-0.356030,-0.138050,0.063710,0.295030,0.459878,0.673904,0.913744,1.208899,1.596045,1.898976,2.365394,2.712744,3.220316,3.584321,3.977491,4.266387,4.614872,4.865990,5.125097,5.343182,5.703098,5.980312,6.231065];&lt;br /&gt;
variable tams = struct{ log_teff, log_l }; % terminal-age main sequence according to Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
tams.log_teff = [3.713490,3.741400,3.762730,3.781080,3.788900,3.803512,3.813527,3.820671,3.860109,3.926968,3.984781,4.077595,4.145771,4.237784,4.295675,4.352039,4.386232,4.417494,4.427468,4.422336,4.397432,4.152124,4.310353,4.433115];&lt;br /&gt;
tams.log_l = [-0.258470,-0.046390,0.126790,0.276170,0.493410,0.646927,0.833820,1.074095,1.372272,1.782232,2.104768,2.608506,2.981932,3.521011,3.906572,4.312416,4.603134,4.955324,5.191676,5.421882,5.607502,5.874329,6.106877,6.310356];&lt;br /&gt;
array_reverse(tams.log_teff);&lt;br /&gt;
array_reverse(tams.log_l);&lt;br /&gt;
xfig.shade_region([zams.log_teff,tams.log_teff]-3,[zams.log_l,tams.log_l]; width=0, color=&amp;quot;darkgreen&amp;quot;, depth=3);&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Dwarfs&amp;quot;); rotate=angle, depth=1, color=&amp;quot;whitesmoke&amp;quot;), log10(14500)-3, 2.6);&lt;br /&gt;
% Subgiants:&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Subgiants&amp;quot;); rotate=angle, depth=1, color=&amp;quot;black&amp;quot;), log10(11500)-3, 3.15);&lt;br /&gt;
% Supergiants:&lt;br /&gt;
xfig.shade_region((0.35*cos(phi)+log10(8)),(0.75*sin(phi)+4.75); width=0, depth=3, color=&amp;quot;blue&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Supergiants&amp;quot;, log10(8), 4.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% Giants:&lt;br /&gt;
xfig.shade_region((0.15*cos(phi)+log10(4.5)),(0.75*sin(phi)+2.75); width=0, depth=3, color=&amp;quot;red&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Giants&amp;quot;, log10(4.5), 2.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% White dwarfs&lt;br /&gt;
xfig.shade_region([0.1,0.2,0.4,0.3,0.2],[0.1,0.0,0.0,0.1,0.2]; width=0, depth=3, color=&amp;quot;powderblue&amp;quot;, world00);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;White&amp;quot;, log10(26), -0.05, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;dwarfs&amp;quot;, log10(28), -0.45, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
% -----&lt;br /&gt;
xfig.render(&amp;quot;HR_diagram.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1154</id>
		<title>Hertzsprung-Russell diagram (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Hertzsprung-Russell_diagram_(xfig_example)&amp;diff=1154"/>
		<updated>2018-04-17T11:27:17Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;== Hertzsprung-Russell diagram == File:Hr_diagram.png  &amp;lt;pre&amp;gt; % ------------- % axes, labels: variable xfig = xfig_plot_new(12,9); variable xmin = log10(3), xmax = log10(47...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hertzsprung-Russell diagram ==&lt;br /&gt;
[[File:Hr_diagram.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% -------------&lt;br /&gt;
% axes, labels:&lt;br /&gt;
variable xfig = xfig_plot_new(12,9);&lt;br /&gt;
variable xmin = log10(3), xmax = log10(47), ymin = -1., ymax = 7.; % x-axis is in kilo Kelvin&lt;br /&gt;
xfig.world(xmax, xmin, ymin, ymax);&lt;br /&gt;
xfig.axis(; ticlabels2=0, ticlabels_confine=0);&lt;br /&gt;
variable xmajor = log10([5:45:5]);&lt;br /&gt;
variable xminor = log10([1:50:1]);&lt;br /&gt;
variable x2major = [ymin:ymax:0.1];&lt;br /&gt;
variable x2minor = [ymin:ymax:0.02];&lt;br /&gt;
xfig.axis(; depth=0, tic_depth=0, ticlabels_confine=0);&lt;br /&gt;
xfig.x1axis(; ticlabels=[&amp;quot;O&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;A&amp;quot;,&amp;quot;F&amp;quot;,&amp;quot;G&amp;quot;,&amp;quot;K&amp;quot;,&amp;quot;M&amp;quot;], major=log10([32,18,10,7,5.5,4.25,3.25]), major_width=0);&lt;br /&gt;
xfig.xlabel(&amp;quot;Spectral class&amp;quot;);&lt;br /&gt;
xfig.x2axis(; ticlabels=[&amp;quot;5&amp;quot;,&amp;quot;10&amp;quot;,&amp;quot;15&amp;quot;,&amp;quot;20&amp;quot;,&amp;quot;25&amp;quot;,&amp;quot;30&amp;quot;,&amp;quot;35&amp;quot;,&amp;quot;40&amp;quot;,&amp;quot;45&amp;quot;R], major=xmajor, minor=xminor, format=&amp;quot;%.0f&amp;quot;);&lt;br /&gt;
xfig.x2label(&amp;quot;$T_{\mathrm{eff}}\,(10^3\,\mathrm{K})$&amp;quot;R);&lt;br /&gt;
xfig.y2axis(; ticlabels=0);&lt;br /&gt;
xfig.ylabel(&amp;quot;$\log (L/{L}_{\odot})$&amp;quot;R);&lt;br /&gt;
% -------------&lt;br /&gt;
% --------------------&lt;br /&gt;
% evolutionary tracks:&lt;br /&gt;
% from Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
variable tracks = struct{ m1, m3, m7, m20 };&lt;br /&gt;
tracks.m1 = struct{ log_teff, log_l }; % track for 1 solar mass&lt;br /&gt;
tracks.m3 = struct{ log_teff, log_l }; % track for 3 solar mass&lt;br /&gt;
tracks.m7 = struct{ log_teff, log_l }; % track for 7 solar mass&lt;br /&gt;
tracks.m20 = struct{ log_teff, log_l }; % track for 20 solar mass&lt;br /&gt;
tracks.m1.log_teff = [3.754330,3.755300,3.755330,3.755400,3.755480,3.755580,3.755700,3.755810,3.755940,3.756070,3.756190,3.756330,3.756470,3.756610,3.756730,3.756860,3.757000,3.757150,3.757270,3.757420,3.757570,3.757700,3.757850,&lt;br /&gt;
		      3.757980,3.758140,3.758270,3.758420,3.758580,3.758710,3.758870,3.759000,3.759140,3.759290,3.759430,3.759610,3.759770,3.759930,3.760120,3.760280,3.760440,3.760600,3.760780,3.760940,3.761100,3.761250,3.761410,&lt;br /&gt;
		      3.761560,3.761670,3.761800,3.761950,3.762060,3.762180,3.762300,3.762410,3.762520,3.762620,3.762750,3.762820,3.762880,3.762950,3.763020,3.763080,3.763140,3.763190,3.763240,3.763290,3.763330,3.763370,3.763400,&lt;br /&gt;
		      3.763430,3.763450,3.763470,3.763480,3.763490,3.763480,3.763470,3.763450,3.763410,3.763360,3.763290,3.763220,3.763140,3.763040,3.762940,3.762850,3.762800,3.762770,3.762750,3.762730,3.762680,3.762650,3.762630,&lt;br /&gt;
		      3.762610,3.762560,3.762530,3.762480,3.762460,3.762410,3.762390,3.762350,3.762300,3.762280,3.762230,3.762180,3.762120,3.762070,3.762010,3.761920,3.761860,3.761740,3.761640,3.761580,3.761520,3.761450,3.761440,&lt;br /&gt;
		      3.761400,3.761350,3.761300,3.761230,3.761170,3.761100,3.761030,3.760930,3.760850,3.760760,3.760650,3.760490,3.760360,3.760230,3.760080,3.759870,3.759710,3.759530,3.759340,3.759070,3.758850,3.758620,3.758370,&lt;br /&gt;
		      3.758020,3.757730,3.757430,3.757110,3.756620,3.756230,3.755810,3.755370,3.754740,3.754240,3.753690,3.753120,3.752290,3.751620,3.750900,3.750130,3.749010,3.748020,3.746900,3.745720,3.743960,3.742490,3.740860,&lt;br /&gt;
		      3.739060,3.737080,3.734070,3.731440,3.728450,3.724750,3.718820,3.713870,3.709260,3.703280,3.697400,3.692710,3.688030,3.684480,3.682560,3.680620,3.678870,3.677430,3.676030,3.674470,3.672500,3.670030,3.667120,&lt;br /&gt;
		      3.663040,3.656530,3.647770,3.646700,3.626800,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,3.556410,&lt;br /&gt;
		      3.556410,3.556410];&lt;br /&gt;
tracks.m1.log_l = [-0.138050,-0.129380,-0.126810,-0.124360,-0.122260,-0.119770,-0.117260,-0.114720,-0.112130,-0.109510,-0.107250,-0.104540,-0.101830,-0.099090,-0.096690,-0.093890,-0.091050,-0.088180,-0.085690,-0.082760,-0.079800,&lt;br /&gt;
		   -0.077230,-0.074220,-0.071610,-0.068540,-0.065890,-0.062750,-0.059600,-0.056880,-0.053670,-0.050910,-0.048120,-0.044830,-0.042000,-0.038660,-0.035760,-0.032850,-0.029430,-0.026470,-0.023490,-0.020480,-0.016960,&lt;br /&gt;
		   -0.013920,-0.010850,-0.007770,-0.004660,-0.001540,0.001590,0.004760,0.008470,0.011680,0.014910,0.018160,0.020890,0.024180,0.027500,0.030830,0.034170,0.037550,0.040950,0.044380,0.047800,0.051270,0.054190,0.057710,&lt;br /&gt;
		   0.061270,0.064840,0.068450,0.072080,0.075120,0.078800,0.082480,0.086200,0.089300,0.093030,0.096140,0.099880,0.102980,0.106070,0.109160,0.112220,0.115260,0.118280,0.121310,0.123730,0.124950,0.125560,0.126180,&lt;br /&gt;
		   0.126790,0.128040,0.128660,0.129290,0.129920,0.131190,0.131840,0.133140,0.133800,0.135130,0.135810,0.137170,0.138550,0.139250,0.140630,0.142070,0.144260,0.145740,0.148010,0.151080,0.153420,0.157380,0.160590,&lt;br /&gt;
		   0.163010,0.165420,0.167860,0.171150,0.173650,0.176170,0.178710,0.182130,0.184720,0.187330,0.189970,0.193520,0.196210,0.198920,0.201650,0.205330,0.208130,0.210940,0.213780,0.217610,0.220520,0.223440,0.226400,&lt;br /&gt;
		   0.230380,0.233390,0.236430,0.239500,0.243630,0.246750,0.249900,0.253070,0.257320,0.260540,0.263770,0.267020,0.271370,0.274650,0.277930,0.281210,0.285580,0.288840,0.292080,0.295300,0.299510,0.302540,0.305550,&lt;br /&gt;
		   0.308480,0.312160,0.314740,0.317060,0.319060,0.320830,0.322500,0.322870,0.322620,0.321470,0.318760,0.316620,0.315640,0.317440,0.324700,0.337600,0.362110,0.393770,0.418910,0.461060,0.504440,0.550130,0.604380,&lt;br /&gt;
		   0.664270,0.729320,0.807500,0.897740,1.007900,1.152030,1.342320,1.390360,1.719880,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,2.638140,&lt;br /&gt;
		   2.638140,2.638140,2.638140,2.638140,2.638140,2.638140];&lt;br /&gt;
tracks.m3.log_teff = [4.104477,4.101130,4.098784,4.096932,4.095520,4.094152,4.092906,4.091568,4.090532,4.089462,4.088575,4.087603,4.086631,4.085654,4.084584,4.083618,4.082794,4.081863,4.080880,4.079909,4.078954,4.077811,4.076814,&lt;br /&gt;
		      4.075977,4.074953,4.073932,4.072905,4.071846,4.070604,4.069515,4.068425,4.067474,4.066353,4.065180,4.063810,4.062611,4.061387,4.060169,4.058875,4.057809,4.056518,4.054984,4.053684,4.052311,4.050895,4.049511,&lt;br /&gt;
		      4.048311,4.046844,4.045140,4.043617,4.042110,4.040580,4.038967,4.037586,4.035944,4.034328,4.032409,4.030733,4.028975,4.027469,4.025674,4.023859,4.022054,4.019996,4.018106,4.016439,4.014562,4.012628,4.010719,&lt;br /&gt;
		      4.008746,4.006818,4.004866,4.002865,4.000890,3.998964,3.997042,3.995170,3.993303,3.991514,3.989837,3.988263,3.986853,3.985639,3.984805,3.984479,3.984499,3.984547,3.984648,3.984781,3.984972,3.985252,3.985549,&lt;br /&gt;
		      3.985906,3.986334,3.986842,3.987464,3.988192,3.989086,3.990155,3.991399,3.992620,3.994326,3.996373,3.998494,4.001379,4.005055,4.009778,4.015627,4.024013,4.035578,4.027620,4.019198,4.014199,4.010884,4.008090,&lt;br /&gt;
		      4.005473,4.003593,4.001870,3.999673,3.998636,3.996650,3.995367,3.992839,3.991586,3.990325,3.988684,3.987023,3.985322,3.983579,3.981786,3.981786,3.979712,3.977541,3.975261,3.972866,3.970342,3.970342,3.967673,&lt;br /&gt;
		      3.964838,3.961813,3.958571,3.955076,3.955076,3.952064,3.948853,3.941737,3.937805,3.933549,3.928990,3.924054,3.918705,3.912862,3.907195,3.901103,3.894541,3.887346,3.879446,3.861010,3.850280,3.838353,3.824996,&lt;br /&gt;
		      3.807248,3.797427,3.777874,3.762034,3.748710,3.736734,3.724115,3.715732,3.707236,3.696032,3.686913,3.681703,3.677099,3.672587,3.668592,3.665801,3.663002,3.659846,3.657180,3.654128,3.651128,3.648095,3.645231,&lt;br /&gt;
		      3.642391,3.639711,3.637484,3.634593,3.632145,3.635666,3.641828,3.643987,3.646684,3.649874,3.652920,3.657066,3.660748,3.664139,3.667093,3.671135,3.674116,3.678197,3.680127,3.682554,3.684970,3.687178,3.688573,&lt;br /&gt;
		      3.690152,3.693206,3.695129,3.696329,3.697237,3.697691,3.697918,3.697847,3.697883,3.697758,3.697609,3.697464,3.697333,3.697136,3.697183,3.697142,3.697143,3.697211,3.697227,3.697261,3.697284,3.697322,3.697328,&lt;br /&gt;
		      3.697378,3.697393,3.697317,3.697438,3.697463,3.697494,3.697490,3.697448,3.697510,3.697517,3.697539,3.697554,3.697560,3.697585,3.697587,3.697635,3.697641,3.697657,3.697695,3.697711,3.697749,3.697767,3.697795,&lt;br /&gt;
		      3.697817,3.697833,3.697856,3.697868,3.697910,3.697926,3.697937,3.697953,3.697917,3.697939,3.697946,3.698006,3.697967,3.697968,3.697975,3.697975,3.697966,3.697966,3.698002,3.698044,3.698057,3.698066,3.698132,&lt;br /&gt;
		      3.698023,3.698025,3.697961,3.698303,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,&lt;br /&gt;
		      3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,&lt;br /&gt;
		      3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,3.698114,&lt;br /&gt;
		      3.698114,3.698114,3.698114,3.698114,3.698114,3.697860,3.697296,3.697150,3.696984,3.696565,3.696449,3.696182,3.695561,3.695231,3.694880,3.694011,3.693476,3.692530,3.691571,3.690567,3.688184,3.686590,3.684183,&lt;br /&gt;
		      3.680467,3.664628];&lt;br /&gt;
tracks.m3.log_l = [1.898976,1.898157,1.900368,1.903228,1.906229,1.909473,1.912669,1.915631,1.919331,1.922666,1.926119,1.929846,1.933160,1.936508,1.940077,1.943397,1.946812,1.950456,1.953744,1.956987,1.960515,1.963574,1.966817,1.970432,&lt;br /&gt;
		   1.973557,1.976631,1.980111,1.983128,1.986004,1.989179,1.992273,1.995433,1.998425,2.001378,2.004035,2.006924,2.009910,2.012560,2.015303,2.018372,2.020963,2.023431,2.026095,2.028576,2.031044,2.033705,2.036241,2.038570,&lt;br /&gt;
		   2.040540,2.043114,2.045241,2.047596,2.049719,2.051901,2.054142,2.056032,2.057709,2.059767,2.061599,2.063530,2.065377,2.067040,2.068619,2.070105,2.071634,2.073346,2.074828,2.076166,2.077634,2.078898,2.080094,2.081460,&lt;br /&gt;
		   2.082636,2.083775,2.085083,2.086236,2.087446,2.088730,2.089970,2.091433,2.092853,2.094588,2.096468,2.098816,2.101593,2.102334,2.102991,2.103922,2.104768,2.105640,2.106693,2.107692,2.108753,2.109920,2.111194,2.112641,&lt;br /&gt;
		   2.114297,2.116148,2.118172,2.120395,2.122534,2.125387,2.128790,2.132439,2.137256,2.142846,2.150769,2.160729,2.175909,2.197592,2.175125,2.185301,2.197447,2.202487,2.205639,2.208038,2.209410,2.210467,2.211650,2.212162,&lt;br /&gt;
		   2.213094,2.213552,2.214353,2.214709,2.215033,2.215437,2.215775,2.216047,2.216275,2.216510,2.216510,2.216610,2.216638,2.216595,2.216464,2.216231,2.216231,2.215881,2.215414,2.214775,2.213947,2.212979,2.212979,2.211950,&lt;br /&gt;
		   2.210762,2.207781,2.205965,2.203840,2.201414,2.198580,2.195333,2.191549,2.187744,2.183283,2.178384,2.172654,2.165949,2.149017,2.138421,2.126120,2.111449,2.090319,2.077763,2.047863,2.010163,1.962986,1.910611,1.839891,&lt;br /&gt;
		   1.803651,1.793080,1.821048,1.881206,1.940541,1.987798,2.033413,2.077010,2.113085,2.150113,2.187340,2.223158,2.261067,2.296868,2.333229,2.370631,2.407406,2.441670,2.479107,2.513618,2.542172,2.501533,2.418088,2.390079,&lt;br /&gt;
		   2.357468,2.324004,2.289329,2.246575,2.195523,2.155987,2.112991,2.068237,2.034009,1.994281,1.971123,1.949987,1.930177,1.912312,1.904220,1.896871,1.889495,1.888052,1.888889,1.890312,1.891323,1.892204,1.892774,1.893772,&lt;br /&gt;
		   1.894377,1.895038,1.895777,1.896499,1.897036,1.898205,1.899111,1.900117,1.901103,1.902077,1.902980,1.904079,1.904962,1.905917,1.906815,1.907734,1.908249,1.909652,1.910666,1.911600,1.912941,1.913630,1.914763,1.915684,&lt;br /&gt;
		   1.916661,1.917600,1.918530,1.919604,1.920576,1.921636,1.922639,1.923660,1.925384,1.926319,1.927370,1.928294,1.929379,1.930928,1.932756,1.933701,1.934644,1.938850,1.939751,1.940648,1.941545,1.942451,1.943542,1.944417,&lt;br /&gt;
		   1.945651,1.946251,1.947151,1.948034,1.948879,1.949817,1.950968,1.952394,1.953985,1.955612,1.957425,1.961586,1.962245,1.963240,1.964008,1.978211,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,&lt;br /&gt;
		   1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,&lt;br /&gt;
		   1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,&lt;br /&gt;
		   1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.977363,1.984200,1.993446,1.997043,2.000126,2.007648,2.010280,2.012891,2.019092,2.020792,2.024098,&lt;br /&gt;
		   2.028754,2.030630,2.034344,2.034319,2.035530,2.044368,2.048004,2.053374,2.067782,2.196314];&lt;br /&gt;
tracks.m7.log_teff = [4.332096,4.328320,4.326038,4.324511,4.323259,4.322116,4.321212,4.320357,4.319573,4.318899,4.318188,4.317513,4.316760,4.316124,4.315453,4.314796,4.314137,4.313486,4.312861,4.312146,4.311447,4.310766,4.310062,&lt;br /&gt;
		      4.309355,4.308616,4.307887,4.307114,4.306342,4.305527,4.304748,4.303917,4.303072,4.302205,4.301346,4.300464,4.299560,4.298623,4.297675,4.296707,4.295747,4.294726,4.293709,4.292675,4.291631,4.290535,4.289442,&lt;br /&gt;
		      4.288291,4.287137,4.285987,4.284830,4.283688,4.282377,4.281137,4.279848,4.278558,4.277258,4.275919,4.274649,4.273265,4.271796,4.270365,4.268891,4.267504,4.266029,4.264506,4.262972,4.261453,4.259881,4.258287,&lt;br /&gt;
		      4.256736,4.255117,4.253564,4.251932,4.250330,4.248753,4.247167,4.245650,4.244133,4.242741,4.241340,4.240085,4.239005,4.238083,4.237530,4.237449,4.237502,4.237544,4.237651,4.237784,4.237949,4.238114,4.238347,&lt;br /&gt;
		      4.238624,4.238950,4.239345,4.239774,4.240287,4.240864,4.241547,4.242350,4.243391,4.244668,4.245955,4.247738,4.249902,4.252660,4.256188,4.261033,4.268576,4.278758,4.276700,4.271091,4.264163,4.257535,4.251551,&lt;br /&gt;
		      4.246792,4.242080,4.238544,4.233549,4.230376,4.227304,4.222256,4.218787,4.215385,4.213696,4.210338,4.206665,4.202654,4.198614,4.196575,4.192425,4.188184,4.186028,4.181635,4.177107,4.174761,4.169952,4.167482,&lt;br /&gt;
		      4.162382,4.157073,4.154295,4.148542,4.142472,4.139310,4.132646,4.125541,4.121834,4.114001,4.105536,4.101063,4.091519,4.081102,4.075528,4.063547,4.050320,4.043161,4.030129,4.018452,3.998943,3.984378,3.968375,&lt;br /&gt;
		      3.943353,3.921980,3.891749,3.865308,3.826374,3.779667,3.725678,3.681198,3.656651,3.641506,3.627405,3.613375,3.607156,3.604405,3.602538,3.601806,3.599727,3.599603,3.600013,3.599306,3.598872,3.597960,3.597543,&lt;br /&gt;
		      3.597011,3.596631,3.596427,3.596191,3.595973,3.595834,3.597160,3.598375,3.599965,3.600833,3.600831,3.601515,3.602871,3.605483,3.606549,3.605555,3.607951,3.610090,3.611943,3.613236,3.614876,3.616421,3.617434,&lt;br /&gt;
		      3.618779,3.621073,3.622618,3.622776,3.623235,3.623353,3.623821,3.623997,3.624226,3.625528,3.625735,3.625954,3.626158,3.626497,3.626846,3.627171,3.627456,3.627730,3.627993,3.628300,3.628602,3.628912,3.629263,&lt;br /&gt;
		      3.630437,3.630933,3.631360,3.631842,3.632390,3.633723,3.634783,3.665681,3.683321,3.703236,3.723511,3.739929,3.752854,3.762691,3.771399,3.778577,3.785004,3.790939,3.796565,3.802501,3.807311,3.811833,3.815278,&lt;br /&gt;
		      3.818532,3.876135,3.877868,3.879691,3.881684,3.883706,3.886060,3.887932,3.890105,3.892588,3.894283,3.895841,3.897358,3.898810,3.900199,3.901722,3.903171,3.904857,3.906437,3.908123,3.909673,3.912379,3.913959,&lt;br /&gt;
		      3.915249,3.916732,3.918209,3.966178,3.966115,3.965955,3.965722,3.965449,3.965165,3.964824,3.964451,3.964058,3.963271,3.963075,3.962749,3.962339,3.961805,3.961155,3.960438,3.959722,3.959019,3.958136,3.957191,&lt;br /&gt;
		      3.956146,3.955251,3.954283,3.953136,3.951916,3.950582,3.949186,3.947747,3.946258,3.944704,3.943043,3.941355,3.939590,3.937691,3.935705,3.933664,3.931502,3.929228,3.926949,3.924556,3.922072,3.919503,3.916736,&lt;br /&gt;
		      3.913864,3.910855,3.907689,3.904399,3.900891,3.897316,3.893520,3.889467,3.885164,3.880593,3.875572,3.870274,3.864655,3.858520,3.851880,3.844598,3.836846,3.827031,3.816640,3.804874,3.791261,3.774941,3.754821,&lt;br /&gt;
		      3.729229,3.695042,3.659592,3.643731,3.627150,3.626133,3.625057,3.624490,3.623345,3.622775,3.621631,3.621054,3.619903,3.619290,3.618071,3.617455,3.616156,3.614861,3.614229,3.612866,3.612142,3.610937,3.610142,&lt;br /&gt;
		      3.610602,3.602978];&lt;br /&gt;
tracks.m7.log_l = [3.220316,3.222236,3.225934,3.229981,3.234307,3.238596,3.242995,3.247321,3.251924,3.256357,3.260792,3.265291,3.269632,3.274029,3.278296,3.282821,3.286990,3.291400,3.295676,3.299967,3.304149,3.308462,3.312527,&lt;br /&gt;
		   3.316832,3.320878,3.325039,3.329032,3.333184,3.337169,3.341168,3.345029,3.349119,3.352956,3.356905,3.360594,3.364509,3.368194,3.372097,3.375746,3.379510,3.383115,3.386828,3.390284,3.393923,3.397403,3.400997,&lt;br /&gt;
		   3.404437,3.407898,3.411295,3.414547,3.418016,3.421233,3.424598,3.427808,3.431126,3.434182,3.437394,3.440545,3.443572,3.446675,3.449643,3.452622,3.455812,3.458679,3.461540,3.464590,3.467340,3.470130,3.472974,&lt;br /&gt;
		   3.475755,3.478522,3.481117,3.484004,3.486664,3.489290,3.491944,3.494787,3.497446,3.500011,3.502895,3.505690,3.508442,3.511563,3.514660,3.517971,3.518808,3.519594,3.520310,3.521011,3.521737,3.522363,3.523141,&lt;br /&gt;
		   3.523951,3.524827,3.525737,3.526626,3.527718,3.528864,3.529965,3.531167,3.532609,3.534299,3.535914,3.538223,3.540880,3.544190,3.548222,3.554541,3.565152,3.583014,3.576169,3.563020,3.554800,3.556295,3.564870,&lt;br /&gt;
		   3.573734,3.582066,3.587452,3.593816,3.597135,3.599927,3.603747,3.605914,3.607810,3.608631,3.610085,3.611448,3.612663,3.613631,3.614050,3.614736,3.615239,3.615435,3.615717,3.615799,3.615779,3.615642,3.615516,&lt;br /&gt;
		   3.615084,3.614467,3.614084,3.613218,3.612078,3.611389,3.609764,3.607780,3.606682,3.604167,3.601164,3.599452,3.595528,3.590906,3.588274,3.582331,3.575291,3.571276,3.563641,3.556470,3.543681,3.533634,3.522214,&lt;br /&gt;
		   3.503631,3.486943,3.462564,3.440832,3.408274,3.368361,3.318280,3.239048,3.170775,3.203994,3.295598,3.433337,3.496761,3.530118,3.551234,3.561025,3.575027,3.587653,3.598804,3.611776,3.618321,3.631116,3.636021,&lt;br /&gt;
		   3.645658,3.653961,3.659961,3.663939,3.667343,3.669468,3.652996,3.633136,3.615651,3.603901,3.591752,3.576569,3.562458,3.550026,3.537842,3.523101,3.509558,3.495461,3.483123,3.474772,3.467494,3.461328,3.455866,&lt;br /&gt;
		   3.452826,3.448147,3.447262,3.447461,3.447566,3.447692,3.448052,3.448105,3.448606,3.450289,3.450684,3.451125,3.451498,3.452573,3.453145,3.453837,3.454481,3.455146,3.455889,3.456769,3.457614,3.458545,3.459693,&lt;br /&gt;
		   3.463869,3.465136,3.466698,3.468591,3.470875,3.477056,3.480336,3.567194,3.579202,3.588661,3.595847,3.601208,3.605330,3.608748,3.611829,3.614628,3.617675,3.620322,3.623573,3.626370,3.628592,3.631104,3.633412,&lt;br /&gt;
		   3.634879,3.667375,3.668497,3.669818,3.671017,3.672650,3.673945,3.675235,3.676565,3.678166,3.679165,3.680143,3.681254,3.682227,3.683366,3.684341,3.685334,3.686696,3.687644,3.689088,3.689945,3.692384,3.693152,&lt;br /&gt;
		   3.693934,3.695269,3.696366,3.726207,3.726218,3.726268,3.726353,3.726449,3.726525,3.726563,3.726617,3.726728,3.727225,3.727205,3.727169,3.727039,3.726874,3.726738,3.726605,3.726719,3.726471,3.726221,3.725983,&lt;br /&gt;
		   3.725856,3.725869,3.725482,3.725105,3.724742,3.724375,3.723998,3.723633,3.723204,3.722754,3.722301,3.721821,3.721268,3.720674,3.719999,3.719381,3.718731,3.717999,3.717337,3.716520,3.715740,3.714836,3.713875,&lt;br /&gt;
		   3.712960,3.711882,3.710743,3.709566,3.708307,3.707170,3.705678,3.704111,3.702612,3.700703,3.698742,3.696672,3.694619,3.692034,3.689234,3.686435,3.682163,3.677869,3.673341,3.667844,3.661392,3.653430,3.643164,&lt;br /&gt;
		   3.629464,3.608824,3.573459,3.518706,3.465240,3.465535,3.466360,3.466996,3.468742,3.469831,3.472490,3.474027,3.477530,3.480029,3.484467,3.486669,3.492091,3.497817,3.500731,3.507212,3.510760,3.518050,3.523789,&lt;br /&gt;
		   3.538654,3.590785];&lt;br /&gt;
tracks.m20.log_teff = [4.553253,4.549346,4.547174,4.545685,4.544487,4.543546,4.542704,4.541930,4.541199,4.540501,4.539833,4.539180,4.538523,4.537867,4.537208,4.536548,4.535864,4.535171,4.534479,4.533819,4.533099,4.532349,4.531685,&lt;br /&gt;
		       4.530858,4.530091,4.529258,4.528381,4.527510,4.526607,4.525624,4.524617,4.523586,4.522501,4.521398,4.520290,4.519143,4.517971,4.516772,4.515485,4.514221,4.512837,4.511507,4.510101,4.508667,4.507198,4.505676,&lt;br /&gt;
		       4.504136,4.502523,4.500856,4.499166,4.497491,4.495733,4.493921,4.492090,4.490113,4.488147,4.486238,4.484147,4.482163,4.479980,4.477843,4.475607,4.473299,4.471034,4.468654,4.466329,4.463757,4.461328,4.458638,&lt;br /&gt;
		       4.456110,4.453542,4.450639,4.447997,4.445199,4.442406,4.439610,4.436652,4.433856,4.430981,4.428301,4.425631,4.423303,4.421079,4.419665,4.417133,4.417171,4.417249,4.417350,4.417494,4.417629,4.417839,4.418064,&lt;br /&gt;
		       4.418213,4.418508,4.418812,4.419100,4.419612,4.420245,4.420835,4.421696,4.422720,4.423804,4.424998,4.426548,4.428610,4.431079,4.434245,4.438862,4.446238,4.466819,4.466818,4.466795,4.466869,4.466593,4.465954,&lt;br /&gt;
		       4.464978,4.463753,4.460943,4.459266,4.457600,4.455811,4.454226,4.452252,4.450122,4.447809,4.445428,4.440841,4.438668,4.436202,4.433690,4.429020,4.426507,4.423976,4.421396,4.416259,4.413662,4.411091,4.408434,&lt;br /&gt;
		       4.405806,4.400451,4.397710,4.394906,4.392073,4.386325,4.383410,4.380459,4.377478,4.371463,4.368414,4.365331,4.362171,4.359369,4.353332,4.350270,4.347179,4.344057,4.337768,4.334598,4.331373,4.328118,4.321521,&lt;br /&gt;
		       4.318163,4.314773,4.311343,4.304390,4.300861,4.297283,4.293637,4.289962,4.282533,4.278783,4.274971,4.271118,4.263665,4.261759,4.255988,4.252112,4.246432,4.243446,4.239031,4.233549,4.230085,4.224989,4.220862,&lt;br /&gt;
		       4.216878,4.212944,4.209174,4.205576,4.202151,4.198862,4.110521,4.089470,4.074724,4.062205,4.049360,4.034826,4.016791,3.997607,3.977317,3.957115,3.928374,3.903048,3.876210,3.850041,3.808092,3.734719,3.576925,&lt;br /&gt;
		       3.571743,3.571057,3.570602,3.570459,3.570285,3.570244,3.570004,3.570037,3.570028,3.569749,3.569502,3.569621,3.569551,3.569749,3.569678,3.569698,3.568869,3.568953,3.568850,3.568921,3.568871,3.568696,3.568741,&lt;br /&gt;
		       3.568656,3.568812,3.568712,3.568734,3.568659,3.568854,3.568885,3.568692,3.568926,3.568882,3.568797,3.568945,3.568887,3.569005,3.568945,3.568872,3.569075,3.569540,3.569856,3.569869,3.569758,3.569846,3.569960,&lt;br /&gt;
		       3.569608,3.569670,3.569800,3.569511,3.569921,3.570298,3.570322,3.570332,3.570586,3.570489,3.571143,3.571122,3.571005,3.570983,3.571283,3.571207,3.571646,3.572005,3.572294,3.572640,3.572454,3.572985,3.573242,&lt;br /&gt;
		       3.573122,3.573409,3.573730,3.573847,3.574047,3.574057,3.574320,3.574750,3.574671,3.574629,3.574749,3.574825,3.575110,3.575288,3.575142,3.575135,3.575430,3.575209,3.575085,3.574964,3.575442,3.575474,3.575504,&lt;br /&gt;
		       3.575606,3.575859,3.575655,3.575990,3.576159,3.575925,3.575717,3.576006,3.575427,3.575602,3.575647,3.575675,3.575689,3.575680,3.575821,3.575970,3.575801,3.575997,3.575863,3.575829,3.575950,3.576194,3.576241,&lt;br /&gt;
		       3.576257,3.576189,3.576174,3.576303,3.576327,3.576308,3.576258,3.576341,3.576527,3.576310,3.576297,3.576468,3.576551,3.576468,3.576504,3.576346,3.576391,3.576517,3.576198,3.576264,3.576354,3.576364,3.576172,&lt;br /&gt;
		       3.576042,3.576061,3.575789,3.575548,3.574428,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,3.574141,&lt;br /&gt;
		       3.574141,3.572871];&lt;br /&gt;
tracks.m20.log_l = [4.614872,4.619018,4.623463,4.628064,4.632737,4.637466,4.642282,4.646902,4.651751,4.656385,4.661088,4.665791,4.670511,4.675113,4.679815,4.684374,4.688887,4.693485,4.698080,4.702542,4.707066,4.711544,4.715935,&lt;br /&gt;
		    4.720303,4.724738,4.729042,4.733292,4.737656,4.741863,4.746114,4.750368,4.754505,4.758829,4.762955,4.767060,4.771277,4.775252,4.779310,4.783414,4.787365,4.791604,4.795450,4.799393,4.803348,4.807345,4.811222,&lt;br /&gt;
		    4.815075,4.819143,4.822897,4.826832,4.830508,4.834208,4.838174,4.841852,4.845683,4.849399,4.853005,4.856893,4.860380,4.864053,4.867646,4.871420,4.875058,4.878547,4.882123,4.885772,4.889355,4.892642,4.896518,&lt;br /&gt;
		    4.899881,4.903175,4.906892,4.910362,4.913800,4.917309,4.920896,4.924358,4.927805,4.931261,4.934769,4.938316,4.941806,4.945487,4.949152,4.953346,4.953955,4.954392,4.954824,4.955324,4.955727,4.956250,4.956724,&lt;br /&gt;
		    4.957139,4.957825,4.958402,4.959010,4.959752,4.960451,4.961028,4.961796,4.962637,4.963474,4.964382,4.965509,4.966926,4.968583,4.970716,4.973939,4.979591,5.001445,5.001124,5.001037,5.001511,5.001620,5.001418,&lt;br /&gt;
		    5.000994,5.000533,4.999532,4.999009,4.998868,4.998832,4.999701,5.000112,5.000569,5.000940,5.001460,5.002370,5.003414,5.003940,5.004542,5.007079,5.008093,5.009222,5.010330,5.012720,5.013875,5.015108,5.016161,&lt;br /&gt;
		    5.017312,5.019459,5.020446,5.021411,5.022304,5.023958,5.024722,5.025430,5.026101,5.027445,5.028046,5.028629,5.029155,5.030731,5.032783,5.033671,5.034464,5.035161,5.036341,5.036911,5.037367,5.037756,5.038404,&lt;br /&gt;
		    5.038645,5.038963,5.039237,5.039694,5.039913,5.040099,5.040396,5.040617,5.041060,5.041325,5.041635,5.041972,5.043553,5.043777,5.044529,5.045130,5.046146,5.046747,5.047740,5.049107,5.050077,5.051664,5.053038,&lt;br /&gt;
		    5.054470,5.055889,5.057324,5.058754,5.060176,5.061554,5.079041,5.077968,5.076456,5.075491,5.074597,5.073595,5.072307,5.071644,5.070583,5.069726,5.068636,5.068058,5.068567,5.069077,5.068065,5.064140,5.031244,&lt;br /&gt;
		    5.035243,5.035701,5.035921,5.036062,5.036010,5.036046,5.036147,5.036309,5.036548,5.036525,5.036667,5.036822,5.036834,5.037020,5.037013,5.037229,5.036882,5.037137,5.037262,5.037391,5.037315,5.037339,5.037681,&lt;br /&gt;
		    5.037828,5.037975,5.038057,5.038071,5.038007,5.038149,5.038147,5.038148,5.038245,5.038156,5.038130,5.038445,5.038370,5.038665,5.038515,5.038405,5.038626,5.038808,5.038602,5.038637,5.038637,5.038579,5.038594,&lt;br /&gt;
		    5.038617,5.038437,5.038473,5.037165,5.037742,5.039143,5.038086,5.037764,5.037443,5.037571,5.037662,5.037592,5.037355,5.037118,5.036936,5.036902,5.036804,5.036570,5.036718,5.036260,5.035812,5.035607,5.035755,&lt;br /&gt;
		    5.034917,5.034217,5.034203,5.033397,5.032968,5.032967,5.033404,5.032948,5.032644,5.032308,5.032250,5.032060,5.032566,5.031949,5.031713,5.031621,5.031498,5.031133,5.031457,5.030324,5.031045,5.030560,5.030498,&lt;br /&gt;
		    5.030130,5.030258,5.029916,5.029750,5.030537,5.029141,5.028812,5.029400,5.029178,5.029342,5.029554,5.028975,5.028874,5.028878,5.028918,5.029124,5.028626,5.028719,5.028838,5.028839,5.028714,5.028546,5.028391,&lt;br /&gt;
		    5.028626,5.028693,5.028537,5.028599,5.028749,5.028970,5.028942,5.028997,5.029142,5.029036,5.029335,5.029563,5.029759,5.029464,5.030334,5.030595,5.030709,5.031510,5.031447,5.031968,5.032612,5.033531,5.034031,&lt;br /&gt;
		    5.034918,5.036393,5.037789,5.040777,5.056702,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,5.058582,&lt;br /&gt;
		    5.058582,5.177863];&lt;br /&gt;
variable mass;&lt;br /&gt;
foreach mass (get_struct_field_names(tracks))&lt;br /&gt;
{&lt;br /&gt;
  variable track = get_struct_field(tracks, mass);&lt;br /&gt;
  xfig_plot_text( xfig, sprintf(&amp;quot;$%s\\,M_{\\odot}$&amp;quot;, strreplace(mass,&amp;quot;m&amp;quot;,&amp;quot;&amp;quot;)), track.log_teff[0]-3, track.log_l[0], .1, 1.; size=&amp;quot;small&amp;quot;, depth=2, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
  xfig.plot(track.log_teff[[0:108:1]]-3,track.log_l[[0:108:1]]; depth=2, color=&amp;quot;black&amp;quot;); % hydrogen core burning =&amp;gt; main-sequence phase&lt;br /&gt;
  xfig.plot(track.log_teff[[109:369:1]]-3,track.log_l[[109:369:1]]; depth=2, color=&amp;quot;gray&amp;quot;); % post main-sequence phase&lt;br /&gt;
}&lt;br /&gt;
% --------------------&lt;br /&gt;
% -----&lt;br /&gt;
variable phi = [0:2*PI:#360];&lt;br /&gt;
% Sun:&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;$\\odot$&amp;quot;, log10(5785)-3, 0, 0, 0; size=&amp;quot;large&amp;quot;, depth=1, color=&amp;quot;goldenrod&amp;quot;);&lt;br /&gt;
% Dwarfs:&lt;br /&gt;
variable angle = -33; % value depends on aspect ratio of figure&lt;br /&gt;
variable zams = struct{ log_teff, log_l }; % zero-age main sequence according to Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
zams.log_teff = [3.688210,3.724350,3.754330,3.779290,3.803820,3.824326,3.856430,3.909891,3.972774,4.048683,4.104477,4.186443,4.247069,4.332096,4.391638,4.456053,4.501169,4.553253,4.588704,4.623051,4.649728,4.689020,4.713497,4.729690];&lt;br /&gt;
zams.log_l = [-0.590900,-0.356030,-0.138050,0.063710,0.295030,0.459878,0.673904,0.913744,1.208899,1.596045,1.898976,2.365394,2.712744,3.220316,3.584321,3.977491,4.266387,4.614872,4.865990,5.125097,5.343182,5.703098,5.980312,6.231065];&lt;br /&gt;
variable tams = struct{ log_teff, log_l }; % terminal-age main sequence according to Ekstroem et al. 2012, A&amp;amp;A, 537, A146&lt;br /&gt;
tams.log_teff = [3.713490,3.741400,3.762730,3.781080,3.788900,3.803512,3.813527,3.820671,3.860109,3.926968,3.984781,4.077595,4.145771,4.237784,4.295675,4.352039,4.386232,4.417494,4.427468,4.422336,4.397432,4.152124,4.310353,4.433115];&lt;br /&gt;
tams.log_l = [-0.258470,-0.046390,0.126790,0.276170,0.493410,0.646927,0.833820,1.074095,1.372272,1.782232,2.104768,2.608506,2.981932,3.521011,3.906572,4.312416,4.603134,4.955324,5.191676,5.421882,5.607502,5.874329,6.106877,6.310356];&lt;br /&gt;
array_reverse(tams.log_teff);&lt;br /&gt;
array_reverse(tams.log_l);&lt;br /&gt;
xfig.shade_region([zams.log_teff,tams.log_teff]-3,[zams.log_l,tams.log_l]; width=0, color=&amp;quot;darkgreen&amp;quot;, depth=3);&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Dwarfs&amp;quot;); rotate=angle, depth=1, color=&amp;quot;whitesmoke&amp;quot;), log10(14500)-3, 2.6);&lt;br /&gt;
% Subgiants:&lt;br /&gt;
xfig.add_object( xfig_new_text(sprintf(&amp;quot;Subgiants&amp;quot;); rotate=angle, depth=1, color=&amp;quot;black&amp;quot;), log10(11500)-3, 3.15);&lt;br /&gt;
% Supergiants:&lt;br /&gt;
xfig.shade_region((0.35*cos(phi)+log10(8)),(0.75*sin(phi)+4.75); width=0, depth=3, color=&amp;quot;blue&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Supergiants&amp;quot;, log10(8), 4.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% Giants:&lt;br /&gt;
xfig.shade_region((0.15*cos(phi)+log10(4.5)),(0.75*sin(phi)+2.75); width=0, depth=3, color=&amp;quot;red&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;Giants&amp;quot;, log10(4.5), 2.75, 0, 0; depth=1, color=&amp;quot;whitesmoke&amp;quot;);&lt;br /&gt;
% White dwarfs&lt;br /&gt;
xfig.shade_region([0.1,0.2,0.4,0.3,0.2],[0.1,0.0,0.0,0.1,0.2]; width=0, depth=3, color=&amp;quot;powderblue&amp;quot;, world00);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;White&amp;quot;, log10(26), -0.05, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
xfig_plot_text(xfig, &amp;quot;dwarfs&amp;quot;, log10(28), -0.45, 0, 0; rotate=angle-5, depth=1, color=&amp;quot;black&amp;quot;);&lt;br /&gt;
% -----&lt;br /&gt;
xfig.render(&amp;quot;HR_diagram.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1091</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1091"/>
		<updated>2018-04-13T20:58:49Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Periodic Table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Example:_Chi-squared_parabola]] [[File:Chisqr_ellipse.png|200px|link=Example:_Chi-squared_contours]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Example:_Orbit_plot_of_GX_301-2]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=Example:_Periodic_Table_of_the_Elements]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Example:_Plot_fit_model]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1090</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1090"/>
		<updated>2018-04-13T20:56:39Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Orbit plot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Example:_Chi-squared_parabola]] [[File:Chisqr_ellipse.png|200px|link=Example:_Chi-squared_contours]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=Example:_Orbit_plot_of_GX_301-2]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Example:_Plot_fit_model]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1089</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1089"/>
		<updated>2018-04-13T20:56:02Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* parameter-space sketches */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=Example:_Chi-squared_parabola]] [[File:Chisqr_ellipse.png|200px|link=Example:_Chi-squared_contours]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Example:_Plot_fit_model]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1058</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1058"/>
		<updated>2018-04-13T15:00:12Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Electromagnetic Spectrum */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|500px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Example:_Plot_fit_model]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1057</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1057"/>
		<updated>2018-04-13T14:59:59Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Skyplot of source positions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|400px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Example:_Plot_fit_model]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1056</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1056"/>
		<updated>2018-04-13T14:59:28Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Plotting a fit model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=Example:_Plot_fit_model]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_fit_model_(xfig_example)&amp;diff=1055</id>
		<title>Plot fit model (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_fit_model_(xfig_example)&amp;diff=1055"/>
		<updated>2018-04-13T14:58:48Z</updated>

		<summary type="html">&lt;p&gt;Niu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sedfitsmodel.png]]&lt;br /&gt;
&lt;br /&gt;
Note: This only contains parts of the original script, showing how to plot the fit model.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
%For a Plot with Hz as x-axis&lt;br /&gt;
% for keV axis use built-in function eval_fun_keV&lt;br /&gt;
&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
variable plan=4.135667516e-18; %Planck constant&lt;br /&gt;
define eval_fun_hz(hz_bin_lo, hz_bin_hi)&lt;br /&gt;
{  &lt;br /&gt;
    variable A_bin_lo = _A(hz_bin_hi*plan);&lt;br /&gt;
    variable A_bin_hi = _A(hz_bin_lo*plan);&lt;br /&gt;
    variable flux = eval_fun(A_bin_lo, A_bin_hi);&lt;br /&gt;
    return reverse(flux);  &lt;br /&gt;
}  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%Load model&lt;br /&gt;
load_par(&amp;quot;best_fit.par&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
%Get unassorbed/dereddened model&lt;br /&gt;
%Chose whatever model or component you want to show&lt;br /&gt;
&lt;br /&gt;
fit_fun(&amp;quot;(logpar(1)+logpar(2)+zbbody(1))&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%Get the x grid where you want to evaluate your model&lt;br /&gt;
variable lo,hi;&lt;br /&gt;
&lt;br /&gt;
(lo, hi) = log_grid (1e9, 1e26, 5000);&lt;br /&gt;
&lt;br /&gt;
%Evaluate model on the defined grid&lt;br /&gt;
variable a = eval_fun_hz(lo,hi);&lt;br /&gt;
%Note: Output is in bin-integrated photon flux: ph/s/cm^2/bin&lt;br /&gt;
&lt;br /&gt;
variable k = 1./624150636.3094;  %keV2ergs&lt;br /&gt;
&lt;br /&gt;
%Conversion to differential energy flux (assuming constant flux in bin): erg/s/cm^2&lt;br /&gt;
variable conv_factor = (0.5 * ((lo*plan) + (hi*plan)))^2/((hi*plan)-&lt;br /&gt;
(lo*plan))*k;&lt;br /&gt;
&lt;br /&gt;
%Apply flux conversion to model&lt;br /&gt;
variable model = conv_factor*a;&lt;br /&gt;
&lt;br /&gt;
%For log plotting: set 0 values to very small ones&lt;br /&gt;
model[where (model==0)]=1e-29;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%In an initialized xfig plot:&lt;br /&gt;
%Note: linear center of bin not log, because grid is fine enough&lt;br /&gt;
pl.plot((lo+hi)/2., model;color=&amp;quot;black&amp;quot;,width=2,depth=50);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_fit_model_(xfig_example)&amp;diff=1054</id>
		<title>Plot fit model (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_fit_model_(xfig_example)&amp;diff=1054"/>
		<updated>2018-04-13T14:58:36Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;File:sedfitsmodel.png?500  Note: This only contains parts of the original script, showing how to plot the fit model.  &amp;lt;pre&amp;gt;  %For a Plot with Hz as x-axis % for keV axis u...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sedfitsmodel.png?500]]&lt;br /&gt;
&lt;br /&gt;
Note: This only contains parts of the original script, showing how to plot the fit model.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
%For a Plot with Hz as x-axis&lt;br /&gt;
% for keV axis use built-in function eval_fun_keV&lt;br /&gt;
&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
variable plan=4.135667516e-18; %Planck constant&lt;br /&gt;
define eval_fun_hz(hz_bin_lo, hz_bin_hi)&lt;br /&gt;
{  &lt;br /&gt;
    variable A_bin_lo = _A(hz_bin_hi*plan);&lt;br /&gt;
    variable A_bin_hi = _A(hz_bin_lo*plan);&lt;br /&gt;
    variable flux = eval_fun(A_bin_lo, A_bin_hi);&lt;br /&gt;
    return reverse(flux);  &lt;br /&gt;
}  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%Load model&lt;br /&gt;
load_par(&amp;quot;best_fit.par&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
%Get unassorbed/dereddened model&lt;br /&gt;
%Chose whatever model or component you want to show&lt;br /&gt;
&lt;br /&gt;
fit_fun(&amp;quot;(logpar(1)+logpar(2)+zbbody(1))&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%Get the x grid where you want to evaluate your model&lt;br /&gt;
variable lo,hi;&lt;br /&gt;
&lt;br /&gt;
(lo, hi) = log_grid (1e9, 1e26, 5000);&lt;br /&gt;
&lt;br /&gt;
%Evaluate model on the defined grid&lt;br /&gt;
variable a = eval_fun_hz(lo,hi);&lt;br /&gt;
%Note: Output is in bin-integrated photon flux: ph/s/cm^2/bin&lt;br /&gt;
&lt;br /&gt;
variable k = 1./624150636.3094;  %keV2ergs&lt;br /&gt;
&lt;br /&gt;
%Conversion to differential energy flux (assuming constant flux in bin): erg/s/cm^2&lt;br /&gt;
variable conv_factor = (0.5 * ((lo*plan) + (hi*plan)))^2/((hi*plan)-&lt;br /&gt;
(lo*plan))*k;&lt;br /&gt;
&lt;br /&gt;
%Apply flux conversion to model&lt;br /&gt;
variable model = conv_factor*a;&lt;br /&gt;
&lt;br /&gt;
%For log plotting: set 0 values to very small ones&lt;br /&gt;
model[where (model==0)]=1e-29;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%In an initialized xfig plot:&lt;br /&gt;
%Note: linear center of bin not log, because grid is fine enough&lt;br /&gt;
pl.plot((lo+hi)/2., model;color=&amp;quot;black&amp;quot;,width=2,depth=50);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1053</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1053"/>
		<updated>2018-04-13T14:55:32Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Xfig plot colormap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=Example:_Xfig_plot_colormap]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_colormap_(xfig_example)&amp;diff=1052</id>
		<title>Xfig plot colormap (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_colormap_(xfig_example)&amp;diff=1052"/>
		<updated>2018-04-13T14:54:59Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* xfig plot image wih colormap 'xfig_plot_colormap' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== xfig plot image wih colormap 'xfig_plot_colormap' ===&lt;br /&gt;
&lt;br /&gt;
[[File:plotcmap1.png]]&lt;br /&gt;
&lt;br /&gt;
   % Example 1: logscale&lt;br /&gt;
   variable x = [PI:10*PI:#100];&lt;br /&gt;
   variable y = [PI:5*PI:#80];&lt;br /&gt;
   variable IMG = sin(x) # transpose(cos(y));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x*180/PI, y*180/PI;&lt;br /&gt;
                                         padx=0.025, pady=0.025,&lt;br /&gt;
                                         dx=-.5,&lt;br /&gt;
                                         xlog, ylog,&lt;br /&gt;
                                         fill=20,&lt;br /&gt;
                                         W=14, H=10,&lt;br /&gt;
                                         colorscale,box,label=&amp;quot;label&amp;quot;&lt;br /&gt;
                                 );&lt;br /&gt;
   variable cs = xfig_plot_colormap( IMG ; orientation=0, W=1,H=10,label=&amp;quot;label&amp;quot;);                                    &lt;br /&gt;
   xf = xfig_new_hbox_compound( xf, cs, 1 );                                     &lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
[[File:plotcmap2.png]]&lt;br /&gt;
&lt;br /&gt;
   % Example 2: image of Example 1 but with gaps&lt;br /&gt;
   variable tmp = [[1:30],[35:65],[75:115]];&lt;br /&gt;
   variable x = struct{ lo = tmp/11.5*PI, hi = (tmp+1)/11.5*PI };&lt;br /&gt;
   tmp = [[1:40],[50:90]];&lt;br /&gt;
   variable y = struct{ lo = tmp/18.*PI, hi = (tmp+1)/18.*PI };&lt;br /&gt;
   variable IMG = sin(x.lo) # transpose(cos(y.lo));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x, y ; cmap=&amp;quot;drywet&amp;quot; );&lt;br /&gt;
   &lt;br /&gt;
   variable cs1 = xfig_plot_colormap( IMG ; cmap=&amp;quot;drywet&amp;quot;,&lt;br /&gt;
                                          W=.2*[xf.get_bbox()][1],&lt;br /&gt;
                                          H = .05*[xf.get_bbox()][3],&lt;br /&gt;
                                          box, label=&amp;quot;label&amp;quot;&lt;br /&gt;
                                    );&lt;br /&gt;
   xf.add_object(cs1, .95, .05, .5, -.5 ; world00 );&lt;br /&gt;
   &lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_colormap_(xfig_example)&amp;diff=1051</id>
		<title>Xfig plot colormap (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_colormap_(xfig_example)&amp;diff=1051"/>
		<updated>2018-04-13T14:54:49Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== xfig plot image wih colormap 'xfig_plot_colormap' ===  File:isis:slxfig:plotcmap1.png     % Example 1: logscale    variable x = [PI:10*PI:#100];    variable y = [PI:5*...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== xfig plot image wih colormap 'xfig_plot_colormap' ===&lt;br /&gt;
&lt;br /&gt;
[[File:isis:slxfig:plotcmap1.png]]&lt;br /&gt;
&lt;br /&gt;
   % Example 1: logscale&lt;br /&gt;
   variable x = [PI:10*PI:#100];&lt;br /&gt;
   variable y = [PI:5*PI:#80];&lt;br /&gt;
   variable IMG = sin(x) # transpose(cos(y));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x*180/PI, y*180/PI;&lt;br /&gt;
                                         padx=0.025, pady=0.025,&lt;br /&gt;
                                         dx=-.5,&lt;br /&gt;
                                         xlog, ylog,&lt;br /&gt;
                                         fill=20,&lt;br /&gt;
                                         W=14, H=10,&lt;br /&gt;
                                         colorscale,box,label=&amp;quot;label&amp;quot;&lt;br /&gt;
                                 );&lt;br /&gt;
   variable cs = xfig_plot_colormap( IMG ; orientation=0, W=1,H=10,label=&amp;quot;label&amp;quot;);                                    &lt;br /&gt;
   xf = xfig_new_hbox_compound( xf, cs, 1 );                                     &lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
[[File:plotcmap2.png]]&lt;br /&gt;
&lt;br /&gt;
   % Example 2: image of Example 1 but with gaps&lt;br /&gt;
   variable tmp = [[1:30],[35:65],[75:115]];&lt;br /&gt;
   variable x = struct{ lo = tmp/11.5*PI, hi = (tmp+1)/11.5*PI };&lt;br /&gt;
   tmp = [[1:40],[50:90]];&lt;br /&gt;
   variable y = struct{ lo = tmp/18.*PI, hi = (tmp+1)/18.*PI };&lt;br /&gt;
   variable IMG = sin(x.lo) # transpose(cos(y.lo));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x, y ; cmap=&amp;quot;drywet&amp;quot; );&lt;br /&gt;
   &lt;br /&gt;
   variable cs1 = xfig_plot_colormap( IMG ; cmap=&amp;quot;drywet&amp;quot;,&lt;br /&gt;
                                          W=.2*[xf.get_bbox()][1],&lt;br /&gt;
                                          H = .05*[xf.get_bbox()][3],&lt;br /&gt;
                                          box, label=&amp;quot;label&amp;quot;&lt;br /&gt;
                                    );&lt;br /&gt;
   xf.add_object(cs1, .95, .05, .5, -.5 ; world00 );&lt;br /&gt;
   &lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
   &lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1050</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1050"/>
		<updated>2018-04-13T14:49:11Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Xfig plot image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=Example:_Xfig_plot_image]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_image_(xfig_example)&amp;diff=1048</id>
		<title>Xfig plot image (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_image_(xfig_example)&amp;diff=1048"/>
		<updated>2018-04-13T14:48:32Z</updated>

		<summary type="html">&lt;p&gt;Niu: Niu moved page Example: xfig plot image to Example: Xfig plot image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== xfig plot image 'xfig_plot_image' ===&lt;br /&gt;
&lt;br /&gt;
[[File:plotimage1.png]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   % Example 1: logscale&lt;br /&gt;
   variable x = [PI:10*PI:#100];&lt;br /&gt;
   variable y = [PI:5*PI:#80];&lt;br /&gt;
   variable IMG = sin(x) # transpose(cos(y));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x*180/PI, y*180/PI;&lt;br /&gt;
                                         padx=0.025, pady=0.025,&lt;br /&gt;
                                          dx=-.5,&lt;br /&gt;
                                         xlog, ylog,&lt;br /&gt;
                                          fill=20&lt;br /&gt;
                                        );&lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:plotimage2.png]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   % Example 2: image of Example 1 but with gaps&lt;br /&gt;
   variable tmp = [[1:30],[35:65],[75:115]];&lt;br /&gt;
   variable x = struct{ lo = tmp/11.5*PI, hi = (tmp+1)/11.5*PI };&lt;br /&gt;
   tmp = [[1:40],[50:90]];&lt;br /&gt;
   variable y = struct{ lo = tmp/18.*PI, hi = (tmp+1)/18.*PI };&lt;br /&gt;
   variable IMG = sin(x.lo) # transpose(cos(y.lo));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x, y ; cmap=&amp;quot;drywet&amp;quot;);&lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_image_(xfig_example)&amp;diff=1047</id>
		<title>Xfig plot image (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_image_(xfig_example)&amp;diff=1047"/>
		<updated>2018-04-13T14:47:42Z</updated>

		<summary type="html">&lt;p&gt;Niu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== xfig plot image 'xfig_plot_image' ===&lt;br /&gt;
&lt;br /&gt;
[[File:plotimage1.png]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   % Example 1: logscale&lt;br /&gt;
   variable x = [PI:10*PI:#100];&lt;br /&gt;
   variable y = [PI:5*PI:#80];&lt;br /&gt;
   variable IMG = sin(x) # transpose(cos(y));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x*180/PI, y*180/PI;&lt;br /&gt;
                                         padx=0.025, pady=0.025,&lt;br /&gt;
                                          dx=-.5,&lt;br /&gt;
                                         xlog, ylog,&lt;br /&gt;
                                          fill=20&lt;br /&gt;
                                        );&lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:plotimage2.png]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   % Example 2: image of Example 1 but with gaps&lt;br /&gt;
   variable tmp = [[1:30],[35:65],[75:115]];&lt;br /&gt;
   variable x = struct{ lo = tmp/11.5*PI, hi = (tmp+1)/11.5*PI };&lt;br /&gt;
   tmp = [[1:40],[50:90]];&lt;br /&gt;
   variable y = struct{ lo = tmp/18.*PI, hi = (tmp+1)/18.*PI };&lt;br /&gt;
   variable IMG = sin(x.lo) # transpose(cos(y.lo));&lt;br /&gt;
   variable xf = xfig_plot_image( IMG, x, y ; cmap=&amp;quot;drywet&amp;quot;);&lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_image_(xfig_example)&amp;diff=1045</id>
		<title>Xfig plot image (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xfig_plot_image_(xfig_example)&amp;diff=1045"/>
		<updated>2018-04-13T14:47:23Z</updated>

		<summary type="html">&lt;p&gt;Niu: Niu moved page Isis:slxfig:2d map saa to Example: xfig plot image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
to be deleted, wrong Linkname&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1044</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1044"/>
		<updated>2018-04-13T14:38:23Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Polar Plot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=Example:_Polar_plot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1043</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1043"/>
		<updated>2018-04-13T14:37:42Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Plotting images with world coordinates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=Example:_Satellite_Picture_Zoom]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1042</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1042"/>
		<updated>2018-04-13T14:37:18Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Angstrom and keV axes done properly in the same plot (axis coordinate transformation) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=Example:_Angstrom_to_keV_axis_transformation]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1041</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1041"/>
		<updated>2018-04-13T14:36:55Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Colored data points */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=Example:_Speedometer_Colorplot]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1040</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1040"/>
		<updated>2018-04-13T14:36:22Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Insets and shaded regions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=Example:_Insets_and_shaded_regions]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1039</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1039"/>
		<updated>2018-04-13T14:35:44Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Atomic processes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=Example:_Atomic_Processes]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=isis:slxfig:1008BATlcGiant2012]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1038</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1038"/>
		<updated>2018-04-13T14:34:45Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Skyplot of source positions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=Example:_Skyplot_of_source_positions]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=isis:slxfig:dielectronicrecombination]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=isis:slxfig:1008BATlcGiant2012]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1037</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1037"/>
		<updated>2018-04-13T14:33:10Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Wind structure in Cyg X-1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=Example:_Wind_structure_of_Cyg_X-1]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=isis:slxfig:source_skyplot]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=isis:slxfig:dielectronicrecombination]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=isis:slxfig:1008BATlcGiant2012]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Polar_plot_(xfig_example)&amp;diff=1035</id>
		<title>Polar plot (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Polar_plot_(xfig_example)&amp;diff=1035"/>
		<updated>2018-04-13T14:31:42Z</updated>

		<summary type="html">&lt;p&gt;Niu: Niu moved page Polar plot to Example: Polar plot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Polar plot with 'xfig_polarplot_new' ===&lt;br /&gt;
&lt;br /&gt;
[[File:polarplot.png|300px|right]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   % Plot coordinate transformation&lt;br /&gt;
   variable min = 0,&lt;br /&gt;
            max = 180,&lt;br /&gt;
            dir = 1,&lt;br /&gt;
            org = 45;&lt;br /&gt;
   variable ang = [min:max:#100];&lt;br /&gt;
   variable rad = 0.5+0.5*sin(ang*PI/180);&lt;br /&gt;
   variable xf = xfig_polarplot_new(; min=min, max=max, origin=org, dir=dir, grid );&lt;br /&gt;
   xf.plot( rad*cos( dir*(ang+org)*PI/180 ),&lt;br /&gt;
            rad*sin( dir*(ang+org)*PI/180 ) ; color=&amp;quot;red&amp;quot; );&lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Skyplot_of_source_positions_(xfig_example)&amp;diff=1033</id>
		<title>Skyplot of source positions (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Skyplot_of_source_positions_(xfig_example)&amp;diff=1033"/>
		<updated>2018-04-13T14:31:27Z</updated>

		<summary type="html">&lt;p&gt;Niu: Niu moved page Skyplot of source positions to Example: Skyplot of source positions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Skyplot of source positions ===&lt;br /&gt;
&lt;br /&gt;
[[File:source_skyplot.png|center]]&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;
xfig_new_color (&amp;quot;galactic_col&amp;quot;, 0x0000FF);&lt;br /&gt;
xfig_new_color (&amp;quot;gridcol&amp;quot;,      0x777777);&lt;br /&gt;
&lt;br /&gt;
variable nr_src = 40;&lt;br /&gt;
variable src_positions = struct {&lt;br /&gt;
  ra  = urand(nr_src)*360,&lt;br /&gt;
  dec = asin(urand(nr_src)*2-1)/PI*180&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
variable N = 100; % #steps for axes&lt;br /&gt;
variable RA,DEC;&lt;br /&gt;
&lt;br /&gt;
variable plot_width  = 24;&lt;br /&gt;
variable plot_height = 12;&lt;br /&gt;
variable p = xfig_plot_new(plot_width,plot_height);&lt;br /&gt;
&lt;br /&gt;
p.world (-2,2,-1,1);&lt;br /&gt;
p.axis(;off);&lt;br /&gt;
&lt;br /&gt;
variable ra_adjust  = 0.0;&lt;br /&gt;
variable dec_adjust = 0.6;&lt;br /&gt;
&lt;br /&gt;
foreach RA ([-180:180:60])&lt;br /&gt;
{&lt;br /&gt;
  p.plot(Aitoff_projection ( Double_Type[N]+RA , [-90:90:#N]; deg, normalized) ; color=&amp;quot;gridcol&amp;quot;, width=1);&lt;br /&gt;
  p.xylabel(Aitoff_projection ( RA, 0 ; deg, normalized),sprintf(&amp;quot;%dh&amp;quot;,((360-RA)/15) mod 24), ra_adjust, dec_adjust);&lt;br /&gt;
}&lt;br /&gt;
ra_adjust  = -0.6;&lt;br /&gt;
dec_adjust = 0.0;&lt;br /&gt;
foreach DEC ([-60:60:30])&lt;br /&gt;
{&lt;br /&gt;
  p.plot(Aitoff_projection ( [-180:180:#N], Double_Type[N]+DEC ; deg, normalized) ; color=&amp;quot;gridcol&amp;quot;, width=1);&lt;br /&gt;
  p.xylabel(Aitoff_projection ( 0,  DEC ; deg, normalized),sprintf(&amp;quot;%d$^\\circ$&amp;quot;,DEC), ra_adjust, dec_adjust);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
p.plot(Aitoff_projection (  -src_positions.ra,  src_positions.dec ; deg, normalized); sym = &amp;quot;+&amp;quot;, fill = 20, size = 0.7, width=3);&lt;br /&gt;
&lt;br /&gt;
p.plot(0.01,0.94; world0, sym = &amp;quot;+&amp;quot;, fill = 20, size = 0.7);&lt;br /&gt;
p.xylabel(0.03,0.94,&amp;quot;Sources&amp;quot;,-0.5,0; world0);&lt;br /&gt;
&lt;br /&gt;
variable ra,dec,i;&lt;br /&gt;
variable galactic_col = &amp;quot;gal_plane&amp;quot;;&lt;br /&gt;
(ra,dec) = RAdec_from_galLB ([0:360:#300],Double_Type[300]);&lt;br /&gt;
i = array_sort(pos_modulo(ra-180,360));&lt;br /&gt;
p.plot(Aitoff_projection (-ra[0],dec[0]; deg, normalized); color=&amp;quot;galactic_col&amp;quot;, depth=100, width=1, sym = &amp;quot;x&amp;quot;);&lt;br /&gt;
ra = ra[i]; dec = dec[i];&lt;br /&gt;
p.plot(Aitoff_projection (-ra,dec; deg, normalized); color=&amp;quot;galactic_col&amp;quot;, depth=100, width=3);&lt;br /&gt;
p.xylabel(0.99,0.94,&amp;quot;Galactic Plane&amp;quot;,0.5,0; world0,color =  &amp;quot;galactic_col&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
p.render(&amp;quot;source_skyplot.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Wind_structure_of_Cyg_X-1_(xfig_example)&amp;diff=1031</id>
		<title>Wind structure of Cyg X-1 (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Wind_structure_of_Cyg_X-1_(xfig_example)&amp;diff=1031"/>
		<updated>2018-04-13T14:30:44Z</updated>

		<summary type="html">&lt;p&gt;Niu: Niu moved page Wind structure of Cyg X-1 to Example: Wind structure of Cyg X-1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Wind structure of Cyg X-1 ===&lt;br /&gt;
&lt;br /&gt;
[[File:sketch.png|450px]]&lt;br /&gt;
&lt;br /&gt;
The clouds included in this sketch are produced by LaTeX using a package providing weather symbols:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
\documentclass{article}&lt;br /&gt;
\usepackage{color}&lt;br /&gt;
\usepackage[weather]{ifsym}&lt;br /&gt;
\begin{document}&lt;br /&gt;
\definecolor{c}{rgb}{.6,.3,0}&lt;br /&gt;
\pagestyle{empty}&lt;br /&gt;
\strut\hbox to 0pt{\color{c}\FilledCloud}\Cloud&lt;br /&gt;
\end{document}&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Here, a &amp;lt;code&amp;gt;\Cloud&amp;lt;/code&amp;gt; is placed ontop of a &amp;lt;code&amp;gt;\FilledCloud&amp;lt;/code&amp;gt; (which was put in a horizontal box of zero width) in order to create a contour around the filled cloud.&lt;br /&gt;
&lt;br /&gt;
Processing the resuting postscript file with &amp;lt;code&amp;gt;ps2eps -B&amp;lt;/code&amp;gt; recalculates the bounding box and thus produces an eps image containing the cloud only.&lt;br /&gt;
This step is repeated for three colors &amp;lt;code&amp;gt;c&amp;lt;/code&amp;gt;, yielding &amp;lt;code&amp;gt;cloud1.eps&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cloud2.eps&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;cloud0.eps&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will also need the Roche lobe contours of the companion star HDE226868. See instructions in [[Example:_Chandra_Coverage|Chandra coverage]] to create them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When done with the preparations, you can compose the figure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;xfig&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
xfig_new_color(&amp;quot;direct&amp;quot;, 0x000000);&lt;br /&gt;
xfig_new_color(&amp;quot;abs&amp;quot;,    0x0000C0);&lt;br /&gt;
xfig_new_color(&amp;quot;em&amp;quot;,     0xC00000);&lt;br /&gt;
xfig_new_color(&amp;quot;HDE&amp;quot;,    0x60A0FF);&lt;br /&gt;
&lt;br /&gt;
% load the Roche lobe contours:&lt;br /&gt;
variable t = fits_read_table(&amp;quot;Roche_contours_xz_q0.567.fits+2&amp;quot;);&lt;br /&gt;
struct_filter(t, [::100]);&lt;br /&gt;
&lt;br /&gt;
variable i = 35*PI/180; % inclination of the system&lt;br /&gt;
variable factor = 1.15;&lt;br /&gt;
variable l = 10/factor/1.1*sin(i), a = .25,  P = .5;&lt;br /&gt;
&lt;br /&gt;
% simplify the use of xfig_new_photon&lt;br /&gt;
define add_photon(xfig, x, y)&lt;br /&gt;
{&lt;br /&gt;
  variable X1, Y1; (X1, Y1) = xfig.xfig_coords(x[0], y[0]);&lt;br /&gt;
  variable X2, Y2; (X2, Y2) = xfig.xfig_coords(x[1], y[1]);&lt;br /&gt;
  variable ph = xfig_new_photon(vector(X1-X2, Y1-Y2, 0), a, P);&lt;br /&gt;
  ph.translate(vector(X2, Y2, 0));&lt;br /&gt;
  ph.set_pen_color(qualifier(&amp;quot;color&amp;quot;, &amp;quot;black&amp;quot;));&lt;br /&gt;
  ph.set_fill_color(qualifier(&amp;quot;color&amp;quot;, &amp;quot;black&amp;quot;));&lt;br /&gt;
  ph.set_thickness(qualifier(&amp;quot;width&amp;quot;, 1));&lt;br /&gt;
  ph.set_line_style(qualifier(&amp;quot;line&amp;quot;, 0));&lt;br /&gt;
  xfig.add_object(ph);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% setup the plot with a straightforward coordinate system and no axes&lt;br /&gt;
variable xfig = xfig_plot_new(20*.8, 21*.8);&lt;br /&gt;
xfig.world(0, 2, -.1, 2);&lt;br /&gt;
xfig.axes(; off);&lt;br /&gt;
&lt;br /&gt;
% plot the companion star and the binary axis of the system&lt;br /&gt;
xfig.plot(t.x, t.z; color=&amp;quot;HDE&amp;quot;);&lt;br /&gt;
xfig.xylabel(0,0,`\centering\small HDE\\226868`, -.5, 0; color=&amp;quot;HDE&amp;quot;);&lt;br /&gt;
xfig.xylabel(1,0,`\centering\small Cyg\\X-1`);&lt;br /&gt;
xfig.plot([.48, 1.67], [0, 0]; line=2, color=&amp;quot;#808080&amp;quot;, width=2);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
% Since there will be lots of lines, &lt;br /&gt;
% a couple of linear equations for the coordinates are needed.&lt;br /&gt;
% Never mind the horrible coefficients,&lt;br /&gt;
% involving the inclination i and user-chosen radii! ;-)&lt;br /&gt;
&lt;br /&gt;
variable r1=.15, R1=.55, rC1=.65;&lt;br /&gt;
% x = t * (1-rC1*s^2) = 1+r4 * s^2&lt;br /&gt;
% y = t * (s*c*rC1)   = s*c*r4&lt;br /&gt;
% =&amp;gt; t = r4/rC1&lt;br /&gt;
% =&amp;gt; r4/rC1 * (1-rC1*s^2) = 1 + r4*s^2&lt;br /&gt;
% =&amp;gt; r4 * [ (1-rC1*s^2)/rC1 - s^2 ] = 1&lt;br /&gt;
variable rC2 = 1/(1/rC1-2*sin(i)^2);&lt;br /&gt;
variable R2 = rC2+R1-rC1;&lt;br /&gt;
variable r2 = r1;&lt;br /&gt;
&lt;br /&gt;
% some clouds retreat radially from the star, expanding:&lt;br /&gt;
variable x = 1-sin(i)^2*rC1;&lt;br /&gt;
variable y = sin(i)*cos(i)*rC1;&lt;br /&gt;
variable r = hypot(x, y);&lt;br /&gt;
variable alpha = atan2(y,x) - .033;&lt;br /&gt;
xfig.plot(r*cos(alpha)*[.54, 2], r*sin(alpha)*[.54, 2]; line=2, color=&amp;quot;#D0D0D0&amp;quot;);&lt;br /&gt;
alpha += 2*.033;&lt;br /&gt;
xfig.plot(r*cos(alpha)*[.54, 2], r*sin(alpha)*[.54, 2]; line=2, color=&amp;quot;#D0D0D0&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
% add the clouds:&lt;br /&gt;
&lt;br /&gt;
% load an exisiting .eps file&lt;br /&gt;
variable cl = xfig_new_eps(&amp;quot;cloud1.eps&amp;quot;); &lt;br /&gt;
&lt;br /&gt;
% scale it according to your wishes&lt;br /&gt;
cl.scale(1.2); &lt;br /&gt;
&lt;br /&gt;
% and add it as an object to your figure&lt;br /&gt;
xfig.add_object(cl, x, y); &lt;br /&gt;
&lt;br /&gt;
variable cl = xfig_new_eps(&amp;quot;cloud2.eps&amp;quot;);&lt;br /&gt;
cl.set_depth(200);&lt;br /&gt;
cl.scale(1.2*hypot(1+sin(i)^2*rC2, sin(i)*cos(i)*rC2)/r);&lt;br /&gt;
xfig.add_object(cl, 1+sin(i)^2*rC2, sin(i)*cos(i)*rC2);&lt;br /&gt;
&lt;br /&gt;
x = .6;  y =  .075;&lt;br /&gt;
variable cl = xfig_new_eps(&amp;quot;cloud0.eps&amp;quot;);&lt;br /&gt;
cl.scale(1);&lt;br /&gt;
xfig.add_object(cl, x, y);&lt;br /&gt;
&lt;br /&gt;
% Since an xfig plot is basically a struct of function references,&lt;br /&gt;
% you can easily add your own functions to it:&lt;br /&gt;
xfig = struct { @xfig, add_photon=&amp;amp;add_photon };&lt;br /&gt;
&lt;br /&gt;
% Now call add_photon just like any xfig function you already know:&lt;br /&gt;
xfig.add_photon(x+[.02,.18]*sin(i),&lt;br /&gt;
                y+[.02,.18]*cos(i); color=&amp;quot;em&amp;quot;, width=2);&lt;br /&gt;
xfig.add_photon(x-[.02,.18]*sin(i),&lt;br /&gt;
                y+[.02,.18]*cos(i); color=&amp;quot;em&amp;quot;, width=2);&lt;br /&gt;
xfig.xylabel(x, y-0.04, &amp;quot;emission&amp;quot;; color=&amp;quot;em&amp;quot;);&lt;br /&gt;
xfig.xylabel(x, y-0.09, `($v\approx0$)`; color=&amp;quot;em&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
variable dx = .04;&lt;br /&gt;
&lt;br /&gt;
variable rr1 = rC1*2-R1;&lt;br /&gt;
variable RR1 = rr1 + R2-r2;&lt;br /&gt;
&lt;br /&gt;
variable rr2 = rC2*2-R2;&lt;br /&gt;
variable RR2 = rr2 + R1-r1;&lt;br /&gt;
&lt;br /&gt;
xfig.add_photon(1-sin(i)^2*[r1-.05,R1], sin(i)*cos(i)*[r1-.05,R1]; color=&amp;quot;direct&amp;quot;, width=4);&lt;br /&gt;
xfig.add_photon(1+sin(i)^2*[r2, R2], sin(i)*cos(i)*[r2, R2]; color=&amp;quot;direct&amp;quot;, width=4);&lt;br /&gt;
&lt;br /&gt;
xfig.add_photon(1-sin(i)^2*[rr1,RR1],           sin(i)*cos(i)*[rr1,RR1]; color=&amp;quot;abs&amp;quot;);&lt;br /&gt;
xfig.add_photon(1-sin(i)^2*[rr1,RR1]-dx*cos(i), sin(i)*cos(i)*[rr1,RR1]-dx*sin(i); color=&amp;quot;em&amp;quot;, width=2);&lt;br /&gt;
xfig.add_photon(1-sin(i)^2*[rC1,1.5*rC1-.5*RR1]+dx*cos(i),  sin(i)*cos(i)*[rC1,(RR1+rC1)/2]+dx*sin(i); color=&amp;quot;em&amp;quot;, width=2);&lt;br /&gt;
&lt;br /&gt;
xfig.add_photon(1+sin(i)^2*[rr2,RR2],           sin(i)*cos(i)*[rr2,RR2]; color=&amp;quot;abs&amp;quot;, width=3);&lt;br /&gt;
xfig.add_photon(1+sin(i)^2*[rr2,RR2]+dx*cos(i), sin(i)*cos(i)*[rr2,RR2]-dx*sin(i); color=&amp;quot;em&amp;quot;, line=1);&lt;br /&gt;
xfig.add_photon(1+sin(i)^2*[rC2,1.5*rC2-.5*RR2]-dx*cos(i),  sin(i)*cos(i)*[rC2,(rC2+RR2)/2]+dx*sin(i); color=&amp;quot;em&amp;quot;, line=1);&lt;br /&gt;
&lt;br /&gt;
% xfig.plot(1+sin(i)^2*[-rC1,rC2], sin(i)*cos(i)*[rC1,rC2]; line=2);&lt;br /&gt;
&lt;br /&gt;
variable r = (rC1+RR1)/2;&lt;br /&gt;
variable x = 1-sin(i)^2*r;&lt;br /&gt;
variable y = sin(i)*cos(i)*r;&lt;br /&gt;
dx = 0.12;&lt;br /&gt;
xfig.xylabel(x-    dx*cos(i), y-    dx*sin(i), `strong absorption,`; color=&amp;quot;abs&amp;quot;, rotate=-55);&lt;br /&gt;
xfig.xylabel(x-1.5*dx*cos(i), y-1.5*dx*sin(i), `stronger than`; rotate=-55);&lt;br /&gt;
xfig.xylabel(x-2  *dx*cos(i), y-2  *dx*sin(i), `any emission`; color=&amp;quot;em&amp;quot;, rotate=-55);&lt;br /&gt;
xfig.xylabel(x-2.5*dx*cos(i), y-2.5*dx*sin(i), `at $v\approx0$`; rotate=-55);&lt;br /&gt;
&lt;br /&gt;
variable x = 1-sin(i)^2*(1.375*rC1-.375*RR2);&lt;br /&gt;
variable y = sin(i)*cos(i)*(rC1+(-.375*rC1+.375*RR1));&lt;br /&gt;
variable x = 1-sin(i)^2*(1.375*rC1-.375*RR2);&lt;br /&gt;
variable y = sin(i)*cos(i)*(rC1+(-.375*rC1+.375*RR1));&lt;br /&gt;
dx /= 1.5;&lt;br /&gt;
xfig.xylabel(x+  dx*cos(i), y-  dx*sin(i), `emission`; color=&amp;quot;em&amp;quot;, rotate=55);&lt;br /&gt;
xfig.xylabel(x+1.5*dx*cos(i), y-1.5*dx*sin(i), `($v\approx0$)`; color=&amp;quot;em&amp;quot;, rotate=55);&lt;br /&gt;
&lt;br /&gt;
variable r = (rC2+2*RR2)/3;&lt;br /&gt;
variable x = 1+sin(i)^2*r;&lt;br /&gt;
variable y = sin(i)*cos(i)*r;&lt;br /&gt;
dx /= 1.25;&lt;br /&gt;
xfig.xylabel(x-2  *dx*cos(i), y+2  *dx*sin(i), `($v\ll0$)`; color=&amp;quot;abs&amp;quot;, rotate=55);&lt;br /&gt;
xfig.xylabel(x-    dx*cos(i), y+    dx*sin(i), `absorption`; color=&amp;quot;abs&amp;quot;, rotate=55);&lt;br /&gt;
xfig.xylabel(x+1.5*dx*cos(i), y-1.5*dx*sin(i), `\small weak emission`; color=&amp;quot;em&amp;quot;, rotate=55);&lt;br /&gt;
&lt;br /&gt;
dx *= 1.25;&lt;br /&gt;
xfig.xylabel(1+sin(i)^2*(1.5*rC2-.5*RR2)-dx*sin(i),  sin(i)*cos(i)*(rC2+RR2)/2-dx*cos(i),&lt;br /&gt;
             `\small weak em.`; color=&amp;quot;em&amp;quot;, rotate=-55, depth=10);&lt;br /&gt;
&lt;br /&gt;
xfig.render(&amp;quot;sketch.eps&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1030</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1030"/>
		<updated>2018-04-13T14:29:45Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Chandra coverage of Cyg X-1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=Example:_Chandra_Coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=isis:slxfig:wind_structure]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=isis:slxfig:source_skyplot]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=isis:slxfig:dielectronicrecombination]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=isis:slxfig:1008BATlcGiant2012]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1029</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1029"/>
		<updated>2018-04-13T14:28:48Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* 2D image contours */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=Example:_2D_Map_Saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=isis:slxfig:chandra_coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=isis:slxfig:wind_structure]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=isis:slxfig:source_skyplot]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=isis:slxfig:dielectronicrecombination]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=isis:slxfig:1008BATlcGiant2012]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1028</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1028"/>
		<updated>2018-04-13T14:28:11Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* Contour plot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=Example:_Contour_Plot]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=isis:slxfig:2D_map_saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=isis:slxfig:chandra_coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=isis:slxfig:wind_structure]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=isis:slxfig:source_skyplot]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=isis:slxfig:dielectronicrecombination]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=isis:slxfig:1008BATlcGiant2012]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1027</id>
		<title>Plot gallery</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_gallery&amp;diff=1027"/>
		<updated>2018-04-13T14:27:35Z</updated>

		<summary type="html">&lt;p&gt;Niu: /* 4 colorful landscapes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Remeis X-fig plot gallery ==&lt;br /&gt;
&lt;br /&gt;
Please add your with &amp;lt;code&amp;gt;slxfig&amp;lt;/code&amp;gt; created plots! Preferably format: clickable image of your final product, leading to the s-lang code (with or without comments). When uploading pictures, please don't forget to give them a '''unique''' name, as they are all stored in one directory.&lt;br /&gt;
&lt;br /&gt;
=== parameter-space sketches ===&lt;br /&gt;
&lt;br /&gt;
[[File:Chisqr_parabola.png|300px|link=isis:slxfig:parameterspace_plot]] [[File:Chisqr_ellipse.png|200px|link=isis:slxfig:parameterspace_plot_1]]&lt;br /&gt;
Simple plots to sketch the meaning of sigma-values in 1-dim or 2-dim chi-squared parameter spaces. (MB: Be aware that the n-sigma projection of 2D contours on one parameter differs from the n-sigma levels obtained for only this parameter (1D), as the delta-chi^2 (or delta statistic) depends on the number of parameters.)&lt;br /&gt;
Author  — ''[mailto:Tobias.Beuchert@sternwarte.uni-erlangen.de Tobias Beuchert] 2013-01-07 13:41''&lt;br /&gt;
&lt;br /&gt;
=== Orbit plot ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:gx301_skizze_nosuz2.png|300px|link=isis:slxfig:orbitplot_gx301]] Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. [[:File:Gx301_skizze_nosuz2.pdf|Version in better resolution (pdf)]]. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:47''&lt;br /&gt;
&lt;br /&gt;
=== 4 colorful landscapes ===&lt;br /&gt;
&lt;br /&gt;
[[File:Color_landsc_gx301.png|300px|link=Example:_Color_Landscapes]] Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in [[isis:slxfig:ccmap|Example: plotting color-coded maps with the png and xfig modules]]. Writing out the PNG with a separate routine is not neccessary anymore I think, code is a little oldish. Author  — ''[mailto:Felix.Fuerst@sternwarte.uni-erlangen.de Felix Fürst] 2012-05-23 17:55''&lt;br /&gt;
&lt;br /&gt;
=== Contour plot ===&lt;br /&gt;
&lt;br /&gt;
[[File:Crsfcontours_xtej1946.png|300px|link=isis:slxfig:contplot_xtej1946]] Contour plot of the Cyclo line energy of XTE J1946+274.  — ''[mailto:Sebastian.Mueller@sternwarte.uni-erlangen.de Sebastian Mueller] 2012-05-30 15:53''&lt;br /&gt;
&lt;br /&gt;
=== 2D image contours ===&lt;br /&gt;
[[File:map2003_0_a570_cont_e.png|300px|link=isis:slxfig:2D_map_saa]] Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Colorful Cyg X-1 lightcurves ===&lt;br /&gt;
[[File:lc_cygx1.png|500px|link=isis:slxfig:lightcurve_cygx1]] &lt;br /&gt;
&lt;br /&gt;
Combining ''RXTE''-ASM, ''Swift''-BAT and ''MAXI'' lightcurves of Cyg X-1 in one plot. The ''RXTE'' lightcurve is color-coded for the low/hard (blue) and the high/soft (red) state. The colors for ''Swift'' are the same as for ''RXTE'' at the same time, or, when the ''RXTE'' lightcurve stops, as during times with similar count rates. ''MAXI'' has its own scale from black (low/hard) to grey (high/soft). Additionally, times of Chandra observations won by our group are indicated (AO13 was scheduled but then canceled). — ''[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell] &amp;amp; [mailto:Ivica.Miskovicova@sternwarte.uni-erlangen.de Ivica Miškovičová]''&lt;br /&gt;
&lt;br /&gt;
=== Chandra coverage of Cyg X-1 ===&lt;br /&gt;
[[File:Chandra_coverage.png|300px|link=isis:slxfig:chandra_coverage]]&lt;br /&gt;
&lt;br /&gt;
Plot of the orbital coverage of Cyg X-1 with ''Chandra'' observations, including an example of how to calculate Roche lobes with isis. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Wind structure in Cyg X-1 ===&lt;br /&gt;
[[File:sketch.png|400px|link=isis:slxfig:wind_structure]]&lt;br /&gt;
&lt;br /&gt;
You may not know, but you can draw basically anything with slxfig! Here is a very nice example from [[http:''adsabs.harvard.edu/abs/2011PhDT.........9H|Manfred's PhD thesis]] (see Fig. 2.62 in there for an interpretation), describing our idea of the wind structure in the Cyg X-1 system.&lt;br /&gt;
&lt;br /&gt;
The plot includes a couple of very nice tricks. Slxfig provides a function to draw photons. The example also shows how to add existing eps files to the figure, and how to add your own functions to the structure saving the xfig plot. — ''[mailto:Manfred.Hanke@sternwarte.uni-erlangen.de Manfred Hanke]''&lt;br /&gt;
&lt;br /&gt;
=== Linear-Logarithmic Axis ===&lt;br /&gt;
[[File:lin_log_axis.png|300px|link=isis:slxfig:lin_log_axis]] Another example of a user defined axis (partially linear and logarithmic). — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting images with world coordinates ===&lt;br /&gt;
[[File:Cygx1_iras.png|300px|link=isis:slxfig:cygx1_iras]] 408 MHz and IRAS images of regions centered at the position of Cygnus X-1. The WCS module is used to show sky coordinates (galactic coordinate grid on the left, RA-DEC axis labels on the right)— ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
=== Skyplot of source positions ===&lt;br /&gt;
[[File:source_skyplot.png|300px|link=isis:slxfig:source_skyplot]] Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — ''[mailto:Moritz.Boeck@sternwarte.uni-erlangen.de Moritz Boeck]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Electromagnetic Spectrum ===&lt;br /&gt;
[[File:elmag.png|400px|link=isis:slxfig:elmag]] &lt;br /&gt;
Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.&lt;br /&gt;
Original Script by [mailto:Cornellia.Mueller@sternwarte.uni-erlangen.de Cornelia Müller]&lt;br /&gt;
— ''[mailto:Felicia.Krauss@sternwarte.uni-erlangen.de Felicia Krauß]''&lt;br /&gt;
&lt;br /&gt;
=== Monster Lightcurve Plot ===&lt;br /&gt;
[[File:monster_lightcurve_vg.png|400px|link=isis:slxfig:monsterlightcurve]]&lt;br /&gt;
Lightcurves from all all-sky monitors &amp;amp; time of individual pointed RXTE observations of Cyg X-1. — ''[mailto:Victoria.Grinberg@sternwarte.uni-erlangen.de Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Periodic Table ===&lt;br /&gt;
[[File:periodictable_nh.png|400px|link=isis:slxfig:periodictable]]&lt;br /&gt;
Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Relativistic photon trajectory ===&lt;br /&gt;
[[File:ptrace3.png|400px|link=isis:slxfig:lightbending_ptrace]]&lt;br /&gt;
Sketch of a relativistic photon trajectory. NOTE: &amp;quot;lbscripts&amp;quot; are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — ''[mailto:Sebastian.Falkner@sternwarte.uni-erlangen.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Atomic processes ===&lt;br /&gt;
[[File:dr_nh.png|300px|link=isis:slxfig:dielectronicrecombination]]&lt;br /&gt;
Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... —''&lt;br /&gt;
[mailto:Natalie.Hell@sternwarte.uni-erlangen.de Natalie Hell]''&lt;br /&gt;
&lt;br /&gt;
=== Insets and shaded regions ===&lt;br /&gt;
[[File:1008batlcgiant2012.png|300px|link=isis:slxfig:1008BATlcGiant2012]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and shading specific regions as well as labeling them. Furthermore, adding an inset plot showing an epoch folding result here.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Insets as zoom-ins ===&lt;br /&gt;
[[File:gx304batlcobs.png|300px|link=isis:slxfig:gx304batlcobs]]&lt;br /&gt;
Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations.  —''&lt;br /&gt;
[mailto:Matthias.Kuehnel@sternwarte.uni-erlangen.de Matthias Kühnel]''&lt;br /&gt;
&lt;br /&gt;
=== Hertzsprung-Russell diagram ===&lt;br /&gt;
[[File:Hr_diagram.png|300px|link=isis:slxfig:HR_diagram]]&lt;br /&gt;
A schematic Hertzsprung-Russell diagram —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== Colored data points ===&lt;br /&gt;
[[File:Colored_data_points.png|300px|link=isis:slxfig:colored_data_points]]&lt;br /&gt;
&amp;quot;Speedometer&amp;quot;-like colormap for data points —''&lt;br /&gt;
[mailto:Andreas.Irrgang@sternwarte.uni-erlangen.de Andreas Irrgang]''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maser Disk ===&lt;br /&gt;
[[File:disk_map.png|300px|link=isis:slxfig:disk_map]]&lt;br /&gt;
3D Maser disk and projections on 2D. —''&lt;br /&gt;
[mailto:Eugenia.Litzinger@sternwarte.uni-erlangen.de Eugenia Litzinger]''&lt;br /&gt;
&lt;br /&gt;
=== Angstrom and keV axes done properly in the same plot (axis coordinate transformation) ===&lt;br /&gt;
[[File:zoom.png|300px|link=isis:slxfig:anstrom_to_kev]]&lt;br /&gt;
Simple but extremely useful axis transformation; works both ways in spite of the name —''&lt;br /&gt;
[mailto:grinberg@space.mit.edu|Victoria Grinberg]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D, simple ===&lt;br /&gt;
[[File:object3dsimple.png|300px|link=isis:slxfig:object3Dsimple]]&lt;br /&gt;
An simple example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting in 3D ===&lt;br /&gt;
[[File:object3d.png|300px|link=isis:slxfig:object3D]]&lt;br /&gt;
An example how to create a 3D plot using vector transformations.''&lt;br /&gt;
[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Calculating and plotting orbits in 3D ===&lt;br /&gt;
&lt;br /&gt;
[[File:orbit3d.png|300px|link=isis:slxfig:orbit3D]]&lt;br /&gt;
Calculation and plots of orbits in 3D''&lt;br /&gt;
[mailto:matthias.kuehnel@sternwarte.uni-erlangen.de Matthias Kuehnel]''&lt;br /&gt;
&lt;br /&gt;
It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.&lt;br /&gt;
&lt;br /&gt;
=== VLBI coordinates in 3D ===&lt;br /&gt;
[[File:vlbi_coordinates.png|300px]]&lt;br /&gt;
Displaying VLBI coordinates in 3D''&lt;br /&gt;
[mailto:tobias.beuchert@sternwarte.uni-erlangen.de Tobias Beuchert]''&lt;br /&gt;
&lt;br /&gt;
=== Plotting a fit model ===&lt;br /&gt;
[[File:sedfitsmodel.png|400px|link=isis:slxfig:plotfitmodel]]&lt;br /&gt;
&lt;br /&gt;
How to plot a fit model in xfig to extend beyond the data.''&lt;br /&gt;
[mailto:Felicia.Krauss@fau.de Felicia Krauss]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multipanel spectral model decomposition ===&lt;br /&gt;
[[File:multipanel_decomposition.png|400px|link=isis:slxfig:model_decomp]]&lt;br /&gt;
&lt;br /&gt;
Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Chi²-distribution and CDF ===&lt;br /&gt;
[[File:Chisqr.png|300px|link=isis:slxfig:chisqr]]&lt;br /&gt;
&lt;br /&gt;
The Chi²-distribution and its according cumulative distribution function for a large number of degrees of freedom. Confidence levels are indicated in the CDF. Feel free to use it in your thesis.—''[mailto:marco.fink@fau.de Marco Fink]''&lt;br /&gt;
&lt;br /&gt;
=== Polar Plot ===&lt;br /&gt;
[[File:polarplot.png|300px|link=isis:slxfig:polarplot]]&lt;br /&gt;
&lt;br /&gt;
In the isisscripts there is a function 'xfig_polarplot_new, with which provides an easy way to plot an individual adjustable polar plot. This plot is just one very simple example, for more information see 'isis&amp;gt; help xfig_polarplot_new'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot image ===&lt;br /&gt;
[[File:plotimage1.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
[[File:plotimage2.png|300px|link=isis:slxfig:plotimage2]]&lt;br /&gt;
&lt;br /&gt;
Other than the %plot_png function of the xfig_plot structure this function&lt;br /&gt;
aims to plot images with a (given) ARBITRARY x/y-grid in a correct way&lt;br /&gt;
(NOTE that .plot_png does not care for x/y values!). This also allows to&lt;br /&gt;
plot images with logarithmic scales without any problems! In addition&lt;br /&gt;
it is easy to plot gabbed images by just giving the x and y grid as bin_lo&lt;br /&gt;
and bin_hi.&lt;br /&gt;
&lt;br /&gt;
These plots are just two very simple examples, for more information see&lt;br /&gt;
'isis&amp;gt; help xfig_plot_image'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
=== Xfig plot colormap ===&lt;br /&gt;
[[File:plotcmap1.png|300px|link=isis:slxfig:plotcmap1]]&lt;br /&gt;
[[File:plotcmap2.png|300px|link=isis:slxfig:plotcmap2]]&lt;br /&gt;
&lt;br /&gt;
The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.&lt;br /&gt;
For more information see 'isis&amp;gt; help xfig_plot_colormap'.—''[mailto:sebastian.falkner@fau.de Sebastian Falkner]''&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Polar_plot_(xfig_example)&amp;diff=1026</id>
		<title>Polar plot (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Polar_plot_(xfig_example)&amp;diff=1026"/>
		<updated>2018-04-13T14:24:59Z</updated>

		<summary type="html">&lt;p&gt;Niu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Polar plot with 'xfig_polarplot_new' ===&lt;br /&gt;
&lt;br /&gt;
[[File:polarplot.png|300px|right]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   % Plot coordinate transformation&lt;br /&gt;
   variable min = 0,&lt;br /&gt;
            max = 180,&lt;br /&gt;
            dir = 1,&lt;br /&gt;
            org = 45;&lt;br /&gt;
   variable ang = [min:max:#100];&lt;br /&gt;
   variable rad = 0.5+0.5*sin(ang*PI/180);&lt;br /&gt;
   variable xf = xfig_polarplot_new(; min=min, max=max, origin=org, dir=dir, grid );&lt;br /&gt;
   xf.plot( rad*cos( dir*(ang+org)*PI/180 ),&lt;br /&gt;
            rad*sin( dir*(ang+org)*PI/180 ) ; color=&amp;quot;red&amp;quot; );&lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Polar_plot_(xfig_example)&amp;diff=1025</id>
		<title>Polar plot (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Polar_plot_(xfig_example)&amp;diff=1025"/>
		<updated>2018-04-13T14:23:43Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== Polar plot with 'xfig_polarplot_new' ===  File:polarplot.png &amp;lt;pre&amp;gt;    % Plot coordinate transformation    variable min = 0,             max = 180,             dir = 1,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Polar plot with 'xfig_polarplot_new' ===&lt;br /&gt;
&lt;br /&gt;
[[File:polarplot.png]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   % Plot coordinate transformation&lt;br /&gt;
   variable min = 0,&lt;br /&gt;
            max = 180,&lt;br /&gt;
            dir = 1,&lt;br /&gt;
            org = 45;&lt;br /&gt;
   variable ang = [min:max:#100];&lt;br /&gt;
   variable rad = 0.5+0.5*sin(ang*PI/180);&lt;br /&gt;
   variable xf = xfig_polarplot_new(; min=min, max=max, origin=org, dir=dir, grid );&lt;br /&gt;
   xf.plot( rad*cos( dir*(ang+org)*PI/180 ),&lt;br /&gt;
            rad*sin( dir*(ang+org)*PI/180 ) ; color=&amp;quot;red&amp;quot; );&lt;br /&gt;
   xf.render(&amp;quot;/tmp/test.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Skyplot_of_source_positions_(xfig_example)&amp;diff=1023</id>
		<title>Skyplot of source positions (xfig example)</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Skyplot_of_source_positions_(xfig_example)&amp;diff=1023"/>
		<updated>2018-04-13T14:21:43Z</updated>

		<summary type="html">&lt;p&gt;Niu: Created page with &amp;quot;=== Skyplot of source positions ===  center  &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;);  xfig_new_color (&amp;quot;galactic_col&amp;quot;, 0x0000FF); xfig_new_color (&amp;quot;gridcol&amp;quot;,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Skyplot of source positions ===&lt;br /&gt;
&lt;br /&gt;
[[File:source_skyplot.png|center]]&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;
xfig_new_color (&amp;quot;galactic_col&amp;quot;, 0x0000FF);&lt;br /&gt;
xfig_new_color (&amp;quot;gridcol&amp;quot;,      0x777777);&lt;br /&gt;
&lt;br /&gt;
variable nr_src = 40;&lt;br /&gt;
variable src_positions = struct {&lt;br /&gt;
  ra  = urand(nr_src)*360,&lt;br /&gt;
  dec = asin(urand(nr_src)*2-1)/PI*180&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
variable N = 100; % #steps for axes&lt;br /&gt;
variable RA,DEC;&lt;br /&gt;
&lt;br /&gt;
variable plot_width  = 24;&lt;br /&gt;
variable plot_height = 12;&lt;br /&gt;
variable p = xfig_plot_new(plot_width,plot_height);&lt;br /&gt;
&lt;br /&gt;
p.world (-2,2,-1,1);&lt;br /&gt;
p.axis(;off);&lt;br /&gt;
&lt;br /&gt;
variable ra_adjust  = 0.0;&lt;br /&gt;
variable dec_adjust = 0.6;&lt;br /&gt;
&lt;br /&gt;
foreach RA ([-180:180:60])&lt;br /&gt;
{&lt;br /&gt;
  p.plot(Aitoff_projection ( Double_Type[N]+RA , [-90:90:#N]; deg, normalized) ; color=&amp;quot;gridcol&amp;quot;, width=1);&lt;br /&gt;
  p.xylabel(Aitoff_projection ( RA, 0 ; deg, normalized),sprintf(&amp;quot;%dh&amp;quot;,((360-RA)/15) mod 24), ra_adjust, dec_adjust);&lt;br /&gt;
}&lt;br /&gt;
ra_adjust  = -0.6;&lt;br /&gt;
dec_adjust = 0.0;&lt;br /&gt;
foreach DEC ([-60:60:30])&lt;br /&gt;
{&lt;br /&gt;
  p.plot(Aitoff_projection ( [-180:180:#N], Double_Type[N]+DEC ; deg, normalized) ; color=&amp;quot;gridcol&amp;quot;, width=1);&lt;br /&gt;
  p.xylabel(Aitoff_projection ( 0,  DEC ; deg, normalized),sprintf(&amp;quot;%d$^\\circ$&amp;quot;,DEC), ra_adjust, dec_adjust);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
p.plot(Aitoff_projection (  -src_positions.ra,  src_positions.dec ; deg, normalized); sym = &amp;quot;+&amp;quot;, fill = 20, size = 0.7, width=3);&lt;br /&gt;
&lt;br /&gt;
p.plot(0.01,0.94; world0, sym = &amp;quot;+&amp;quot;, fill = 20, size = 0.7);&lt;br /&gt;
p.xylabel(0.03,0.94,&amp;quot;Sources&amp;quot;,-0.5,0; world0);&lt;br /&gt;
&lt;br /&gt;
variable ra,dec,i;&lt;br /&gt;
variable galactic_col = &amp;quot;gal_plane&amp;quot;;&lt;br /&gt;
(ra,dec) = RAdec_from_galLB ([0:360:#300],Double_Type[300]);&lt;br /&gt;
i = array_sort(pos_modulo(ra-180,360));&lt;br /&gt;
p.plot(Aitoff_projection (-ra[0],dec[0]; deg, normalized); color=&amp;quot;galactic_col&amp;quot;, depth=100, width=1, sym = &amp;quot;x&amp;quot;);&lt;br /&gt;
ra = ra[i]; dec = dec[i];&lt;br /&gt;
p.plot(Aitoff_projection (-ra,dec; deg, normalized); color=&amp;quot;galactic_col&amp;quot;, depth=100, width=3);&lt;br /&gt;
p.xylabel(0.99,0.94,&amp;quot;Galactic Plane&amp;quot;,0.5,0; world0,color =  &amp;quot;galactic_col&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
p.render(&amp;quot;source_skyplot.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;/div&gt;</summary>
		<author><name>Niu</name></author>
	</entry>
</feed>