# Plot gallery

## Contents

- 1 Remeis X-fig plot gallery
- 1.1 Mike's Fancy Plots
- 1.2 Plotting Model Components
- 1.3 Color-coded maps with png and xfig
- 1.4 Two-dimensional histograms
- 1.5 Compounds and multiplots
- 1.6 parameter-space sketches
- 1.7 Orbit plot
- 1.8 4 colorful landscapes
- 1.9 Contour plot
- 1.10 2D image contours
- 1.11 Colorful Cyg X-1 lightcurves
- 1.12 Chandra coverage of Cyg X-1
- 1.13 Wind structure in Cyg X-1
- 1.14 Linear-Logarithmic Axis
- 1.15 Plotting images with world coordinates
- 1.16 Skyplot of source positions
- 1.17 Electromagnetic Spectrum
- 1.18 Monster Lightcurve Plot
- 1.19 Periodic Table
- 1.20 Relativistic photon trajectory
- 1.21 Atomic processes
- 1.22 Simple inset
- 1.23 Insets and shaded regions
- 1.24 Insets as zoom-ins
- 1.25 Hertzsprung-Russell diagram
- 1.26 Colored data points
- 1.27 3D Maser Disk
- 1.28 Angstrom and keV axes done properly in the same plot (axis coordinate transformation)
- 1.29 Plotting in 3D, simple
- 1.30 Plotting in 3D
- 1.31 Calculating and plotting orbits in 3D
- 1.32 VLBI coordinates in 3D
- 1.33 Plotting a fit model
- 1.34 Multipanel spectral model decomposition
- 1.35 Chi²-distribution and CDF
- 1.36 Polar Plot
- 1.37 Xfig plot image
- 1.38 Xfig plot colormap
- 1.39 Skymap with error circles

# Remeis X-fig plot gallery

Please add your with `slxfig`

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.

### Mike's Fancy Plots

Plotting spectra in the way of Mike's fancy plots

### Plotting Model Components

Plotting individual model components

### Color-coded maps with png and xfig

How to plot a color-coded map (landscape) using png and xfig

### Two-dimensional histograms

banana-plot with coordinate system —*Manfred Hanke*

### Compounds and multiplots

Compounds and multi-panel plots —*Manfred Hanke*

### parameter-space sketches

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.)
Author — *Tobias Beuchert 2013-01-07 13:41*

### Orbit plot

Orbit plot of GX 301-2, including the average ASM lightcurve folded on the orbit. Version in better resolution (pdf). Author — *Felix Fürst 2012-05-23 17:47*

### 4 colorful landscapes

Color-coded maps of count-rate distribution in the pulse-profile for different epochs. Very similar to what is shown in 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 — *Felix Fürst 2012-05-23 17:55*

### Contour plot

Contour plot of the Cyclo line energy of XTE J1946+274. — *Sebastian Mueller 2012-05-30 15:53*

### 2D image contours

Map (2D histogram) of the South Atlantic Anomaly (SAA) overplotted with iso-magnetic field lines of the Earth's magnetic field. — *Natalie Hell*

### Colorful Cyg X-1 lightcurves

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). — *Natalie Hell & Ivica Miškovičová*

### Chandra coverage of Cyg X-1

Plot of the orbital coverage of Cyg X-1 with *Chandra* observations, including an example of how to calculate Roche lobes with isis. —*Manfred Hanke*

### Wind structure in Cyg X-1

You may not know, but you can draw basically anything with slxfig! Here is a very nice example from 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.

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. — *Manfred Hanke*

### Linear-Logarithmic Axis

Another example of a user defined axis (partially linear and logarithmic). — *Moritz Boeck*

### Plotting images with world coordinates

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)— *Moritz Boeck*

### Skyplot of source positions

Random source positions shown in an Aitoff projection of the sky in RA and DEC. The Galactic Plane is highlighted. — *Moritz Boeck*

### Electromagnetic Spectrum

Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked.
Original Script by Cornelia Müller
— *Felicia Krauß*

### Monster Lightcurve Plot

Lightcurves from all all-sky monitors & time of individual pointed RXTE observations of Cyg X-1. — *Victoria Grinberg*

### Periodic Table

Draw your own periodic table in only ~120 lines of code. Data is taken from the X-ray Data Booklet 2009. — Natalie Hell

### Relativistic photon trajectory

Sketch of a relativistic photon trajectory. NOTE: "lbscripts" are required to execute the script. The path is set in the Script correctly, otherwise please contact me. — *Sebastian Falkner*

### Atomic processes

Make sketches of atomic processes such as di-electronic recombination (DR). Other possibilities include radiative recombination, auto-ionization, photo-ionization, ... — Natalie Hell

### Simple inset

### Insets and shaded regions

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. — Matthias Kühnel

### Insets as zoom-ins

Plotting the BAT-lightcurve of a source and adding zooms into the lightcurve showing the available observations. — Matthias Kühnel

### Hertzsprung-Russell diagram

A schematic Hertzsprung-Russell diagram — Andreas Irrgang

### Colored data points

"Speedometer"-like colormap for data points — Andreas Irrgang

### 3D Maser Disk

3D Maser disk and projections on 2D. — Eugenia Litzinger

### Angstrom and keV axes done properly in the same plot (axis coordinate transformation)

Simple but extremely useful axis transformation; works both ways in spite of the name — Grinberg

### Plotting in 3D, simple

An simple example how to create a 3D plot using vector transformations. Sebastian Falkner

### Plotting in 3D

An example how to create a 3D plot using vector transformations. Sebastian Falkner

### Calculating and plotting orbits in 3D

Calculation and plots of orbits in 3D Matthias Kuehnel

It also defines additional TeX commands and packages for plotting purposes, such as using no bold face.

### VLBI coordinates in 3D

Displaying VLBI coordinates in 3D Tobias Beuchert

### Plotting a fit model

How to plot a fit model in xfig to extend beyond the data. Felicia Krauss

### Multipanel spectral model decomposition

Spectral model decompositions of a whole sample using multiplot. Compact and flexible code thanks to some clean file structuring and efficiently placed loops.—*Marco Fink*

### Chi²-distribution and CDF

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.—*Marco Fink*

### Polar Plot

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> help xfig_polarplot_new'.—*Sebastian Falkner*

### Xfig plot image

Other than the %plot_png function of the xfig_plot structure this function aims to plot images with a (given) ARBITRARY x/y-grid in a correct way (NOTE that .plot_png does not care for x/y values!). This also allows to plot images with logarithmic scales without any problems! In addition it is easy to plot gabbed images by just giving the x and y grid as bin_lo and bin_hi.

These plots are just two very simple examples, for more information see
'isis> help xfig_plot_image'.—*Sebastian Falkner*

### Xfig plot colormap

The function 'xfig_plot_colormap' creates a horizontal, vertical colormap/colorscale for a given image.
For more information see 'isis> help xfig_plot_colormap'.—*Sebastian Falkner*

### Skymap with error circles

How to plot a circles in spherical coordinates in a Hammer-Aitoff projection. (Or: how to plot the intersection of a sphere with a plane) Felicia Krauss