Plot gallery

From Remeis-Wiki
Jump to navigation Jump to search

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.

A cool website for generating color-blind friendly patterns: You can set the colors just by using the hex codes in xfig or tikz.

Mike's Fancy Plots

Fancy plot.png Plotting spectra in the way of Mike's fancy plots

Plotting Model Components

Plot individual components.png 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.png banana-plot with coordinate system —Manfred Hanke

Compounds and multiplots

Multiplot and plot.png Compounds and multi-panel plots —Manfred Hanke

parameter-space sketches

Chisqr parabola.png Chisqr ellipse.png 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

Gx301 skizze nosuz2.png 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 landsc gx301.png 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

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

2D image contours

Map2003 0 a570 cont e.png 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

Lc cygx1.png

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

Chandra coverage.png

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

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

Plotting images with world coordinates

Cygx1 iras.png 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

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

Electromagnetic Spectrum

Elmag.png Electromagnetic spectrum in energy, frequency and wavelength. Satellite energy ranges marked. Original Script by Cornelia MüllerFelicia Krauß

Monster Lightcurve Plot

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

Periodic Table

Periodictable nh.png 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

Ptrace3.png 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

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

Simple inset

Easy example for an inset

Insets and shaded regions

1008batlcgiant2012.png 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

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

Hertzsprung-Russell diagram

Hr diagram.png A schematic Hertzsprung-Russell diagram — Andreas Irrgang

Colored data points

Colored data points.png "Speedometer"-like colormap for data points — Andreas Irrgang

3D Maser Disk

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

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

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

Plotting in 3D, simple

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

Plotting in 3D

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

Calculating and plotting orbits in 3D

Orbit3d.png 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

Vlbi coordinates.png 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

Multipanel decomposition.png

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

Plotimage1.png Plotimage2.png

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

Plotcmap1.png Plotcmap2.png

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

Plot data over different range sections

Plot with gaps jjs.png

A simple example on how to plot data over a range with gaps, inserting visible markers to indicate these gaps. Jakob Stierhof

Plot geospatial data with shapelib

Plot world jjs.png

Plot world vector jjs.png

An exemplary use of the slang interface to the lightweight shapelib library. The library allows to read in ESRI shape files a common format for geospatial data representation. The slang wrapper is in a very early phase and together with the not very error prone shapelib c library there is lots of errors ahead of you (okay, mostly it's my fault). For example, if you try to load a file that does not exist the wrapper does not crash nicely bad faces you with a segfault. You have been warned! Jakob Stierhof

Coloredcoded scatter plot

My very cool colorcode.png Colorcoded scatter plot Philipp Weber or Steven Hämmerich

Plot marginal and joint probabilities

Distribution matrix.png

Visualize the distribution of something in a nice triangle using one function (from the isisscripts)! - Jakob Stierhof

Remeis tikz plot gallery

Plot continuum models with varying parameters

Continuum functions.png

Visualisation of common continuum models used for the spectra of accreting neutron stars. Version in better resolution Author: Nicolas Zalot

Display of available color palettes and maps

Color-palettes-isisscripts.png Color-maps-isisscripts.png

Simple iterator script to display color maps and color palettes using the isisscripts color interface. - Jakob Stierhof