CTAN Comprehensive TeX Archive Network

CTAN update: pgf-spectra

Date: April 26, 2023 9:47:24 PM CEST
Hugo Gomes submitted an update to the pgf-spectra package. Version number: 3.0.0 2023-04-25 License type: lppl1.3 Summary description: Draw continuous or discrete spectra using PGF/TikZ Announcement text:
In the \pgfspectra command, syntax for the key 'lines' has been updated: - it is now possible to specify a continuous range using 'start wavelength to end wavelength', for instance, 'lines={380 to 500}' or 'lines={380 to 500,633}' or 'lines={633,555,380 to 500}'. New keys for \pgfspectra: - axis label - axis label text - axis label position Updated key syntax for \pgfspectra: - lines New command: - \usepgfspectralibrary (loads pgf-spectra libraries) New library 'data' to load spectral lines data, display it in a table or export it to a file. This library provides the commands: - \pgfspectradata (loads data) - \pgfspectratable (displays data in a table) - \pgfspectrawrite (writes data to a file) Some commands from previous versions have been moved to new libraries: - \pgfspectraplotshade and \pgfspectraplotmap moved to new library 'pgfplots' - \tempercolor moved to new library 'tempercolor' - \pgfspectrarainbow moved to new library 'rainbow'
This package is located at https://mirrors.ctan.org/graphics/pgf/contrib/pgf-spectra More information is at https://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