<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Plot_marginal_and_joint_probabilities</id>
	<title>Plot marginal and joint probabilities - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Plot_marginal_and_joint_probabilities"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_marginal_and_joint_probabilities&amp;action=history"/>
	<updated>2026-04-11T13:27:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_marginal_and_joint_probabilities&amp;diff=4014&amp;oldid=prev</id>
		<title>Stierhof: Stierhof moved page Plot marginal and joing probabilities to Plot marginal and joint probabilities: Typo</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_marginal_and_joint_probabilities&amp;diff=4014&amp;oldid=prev"/>
		<updated>2026-02-16T09:36:54Z</updated>

		<summary type="html">&lt;p&gt;Stierhof moved page &lt;a href=&quot;/wiki/index.php/Plot_marginal_and_joing_probabilities&quot; class=&quot;mw-redirect&quot; title=&quot;Plot marginal and joing probabilities&quot;&gt;Plot marginal and joing probabilities&lt;/a&gt; to &lt;a href=&quot;/wiki/index.php/Plot_marginal_and_joint_probabilities&quot; title=&quot;Plot marginal and joint probabilities&quot;&gt;Plot marginal and joint probabilities&lt;/a&gt;: Typo&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:36, 16 February 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Stierhof</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_marginal_and_joint_probabilities&amp;diff=2681&amp;oldid=prev</id>
		<title>Stierhof: Created page with &quot;This is just to illustrate how to use the function 'distribution_matrix' and xfig_plot_dstribution_matrix'. I assume you have some data to plot, for example from a monte carlo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Plot_marginal_and_joint_probabilities&amp;diff=2681&amp;oldid=prev"/>
		<updated>2022-10-26T13:40:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This is just to illustrate how to use the function &amp;#039;distribution_matrix&amp;#039; and xfig_plot_dstribution_matrix&amp;#039;. I assume you have some data to plot, for example from a monte carlo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is just to illustrate how to use the function 'distribution_matrix' and xfig_plot_dstribution_matrix'. I assume you have some data to plot, for example from a monte carlo run or similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% Assuming your data is given in a struct as written by the emcee&lt;br /&gt;
% routines (so one array for each parameter) given in variable 'data'.&lt;br /&gt;
&lt;br /&gt;
variable matrix = distribution_matrix(data);&lt;br /&gt;
% If you only want to include specific struct fields use the qualifier 'fields'.&lt;br /&gt;
% The function can also take a number of arrays (of the same length), i.e., the fiels&lt;br /&gt;
% of the struct directly.&lt;br /&gt;
&lt;br /&gt;
variable X = xfig_plot_distribution_matrix(matrix);&lt;br /&gt;
% If you want to add labels for the plot, add them with the labels qualifiers&lt;br /&gt;
% or specifically for each entry with the label# qualifier(s)&lt;br /&gt;
% Best fits can be marked with the 'best' qualifier and 'conf' gives you&lt;br /&gt;
% the 1d confidence margins. Beware that this takes some assumptions so it might&lt;br /&gt;
% not work for your complicated distribution!&lt;br /&gt;
&lt;br /&gt;
variable tex = `&lt;br /&gt;
\raggedright&lt;br /&gt;
\def\arraystretch{1.5}&lt;br /&gt;
\begin{tabular}{rl}&lt;br /&gt;
Here could go parameters &amp;amp; values!\\&lt;br /&gt;
\end{tabular}&lt;br /&gt;
`R;&lt;br /&gt;
% This is just a demonstration for how to add a table to the plot&lt;br /&gt;
&lt;br /&gt;
variable info = xfig_new_text(tex);&lt;br /&gt;
info.scale(1.3);&lt;br /&gt;
info.translate(vector(20, -20, 0));&lt;br /&gt;
X.insert(info);&lt;br /&gt;
% Scale the table and move it (you could do the math, but testing is simpler)&lt;br /&gt;
&lt;br /&gt;
X.render(&amp;quot;matrix.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Distribution_matrix.png|800px]]&lt;/div&gt;</summary>
		<author><name>Stierhof</name></author>
	</entry>
</feed>