CTAN Comprehensive TeX Archive Network

CTAN update: pgf-spectra

Date: May 17, 2021 10:01:42 PM CEST
Hugo Gomes submitted an update to the pgf-spectra package. Version number: 2.1.0 License type: lppl1.3 Summary description: Draw continuous or discrete spectra using PGF/TikZ Announcement text:
pgf-spectra, version 2.1.0 Major changes: - the continuous visible region is now drawn via TikZ shading improving a little bit the speed of the whole process. Minor fix: - the width of the emission/absortion lines are now correctly drawn. New commands: - \tempercolor (correlated color temperature, Kelvin to rgb color) - \pgfspectrashade (for usage with TikZ package) - \pgfspectraplotshade (for usage with PGFPLOTS package) - \pgfspectraplotmap (for usage with PGFPLOTS package) - \pgfspectrarainbow (draws a rainbow) New keys for \pgfspectra: - use visible shading - backVIS - axis unit - axis unit precision Keys for \pgfspectraplotshade: - shade end - shade opacity - shade opacity color Keys for \pgfspectrarainbow: - rainbow fade - rainbow start - rainbow knock out - rainbow background - rainbow transparency
This package is located at http://mirror.ctan.org/graphics/pgf/contrib/pgf-spectra More information is at http://www.ctan.org/pkg/pgf-spectra CTAN is run entirely by volunteers and supported by TeX user groups Please join a user group or donate to one, see https://ctan.org/lugs
Thanks for the upload. For the CTAN Team Ina Dau

pgf-spectra – Draw continuous or discrete spectra using PGF/TikZ

The purpose of this package is to draw the spectrum of elements in a simple way. It relies on PGF/TikZ to draw the desired spectrum, continuous or discrete.

Data for the spectra of 98 elements and their ions are available (from the NASA database and from NIST). Lines data ranges from Extreme UV to Near IR (from 10 to 4000 nanometers).

It also allows the user to draw spectra using their own data.

It is possible to redshift the lines of a spectrum, by directly entering the redshift value or the velocity and the angle to compute the redshift value.

Spectral lines data can be presented in a table or exported to a file.

The package also provides color conversion (correlated color temperature), shadings for use with TikZ and/or pgfplots and color maps for use with pgfplots.

Packagepgf-spectra
Version3.0.1a 2024-07-07
MaintainerHugo Gomes

Announcements

more

Guest Book Sitemap Contact Contact Author