outputting_publication_quality_plots
Differences
This shows you the differences between two versions of the page.
| outputting_publication_quality_plots [2009/09/09 15:11] – created johnsoevans | outputting_publication_quality_plots [2025/09/19 15:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Publication Quality Plots ====== | ||
| + | |||
| + | There are lots of ways you can output data to produce publication quality plots. | ||
| + | |||
| + | A simple output of obs, calc and difference: | ||
| + | |||
| + | <code topas> | ||
| + | { | ||
| + | xdd_out filename load out_record out_fmt out_eqn | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | }</ | ||
| + | |||
| + | Outputting in d-spacing: | ||
| + | |||
| + | <code topas> | ||
| + | { | ||
| + | xdd_out filename load out_record out_fmt out_eqn | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | }</ | ||
| + | |||
| + | The macro below will output tic marks to a file. The top macro just creates an xy file with points at y = 0, the second lets you specify the y value. | ||
| + | |||
| + | <code topas> | ||
| + | macro Rietveld_Tics_2th(filename, | ||
| + | { | ||
| + | phase_out filename load out_record out_fmt out_eqn | ||
| + | | ||
| + | " %9.2f" | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||