<?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=Chi-squared_contours_%28xfig_example%29</id>
	<title>Chi-squared contours (xfig example) - 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=Chi-squared_contours_%28xfig_example%29"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_contours_(xfig_example)&amp;action=history"/>
	<updated>2026-04-05T06:01:15Z</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=Chi-squared_contours_(xfig_example)&amp;diff=1106&amp;oldid=prev</id>
		<title>Obst: Obst moved page Example: Chi-squared contours to Chi-squared contours (xfig example) without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_contours_(xfig_example)&amp;diff=1106&amp;oldid=prev"/>
		<updated>2018-04-17T08:50:14Z</updated>

		<summary type="html">&lt;p&gt;Obst moved page &lt;a href=&quot;/wiki/index.php?title=Example:_Chi-squared_contours&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Example: Chi-squared contours (page does not exist)&quot;&gt;Example: Chi-squared contours&lt;/a&gt; to &lt;a href=&quot;/wiki/index.php/Chi-squared_contours_(xfig_example)&quot; title=&quot;Chi-squared contours (xfig example)&quot;&gt;Chi-squared contours (xfig example)&lt;/a&gt; without leaving a redirect&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 08:50, 17 April 2018&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>Obst</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_contours_(xfig_example)&amp;diff=1082&amp;oldid=prev</id>
		<title>Falkner: Created page with &quot;  Category:SLxfig  ====== Chi-squared contours ======  &lt;pre&gt; require(&quot;isisscripts&quot;);  variable x = [0:2.2*PI:.01];  variable alpha,x0,y0,range,col; variable a,b; variable...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Chi-squared_contours_(xfig_example)&amp;diff=1082&amp;oldid=prev"/>
		<updated>2018-04-13T16:09:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;  &lt;a href=&quot;/wiki/index.php/Category:SLxfig&quot; title=&quot;Category:SLxfig&quot;&gt;Category:SLxfig&lt;/a&gt;  ====== Chi-squared contours ======  &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;);  variable x = [0:2.2*PI:.01];  variable alpha,x0,y0,range,col; variable a,b; variable...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SLxfig]]&lt;br /&gt;
&lt;br /&gt;
====== Chi-squared contours ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
variable x = [0:2.2*PI:.01];&lt;br /&gt;
&lt;br /&gt;
variable alpha,x0,y0,range,col;&lt;br /&gt;
variable a,b;&lt;br /&gt;
variable i;&lt;br /&gt;
&lt;br /&gt;
define ellipse(x,i,alpha,x0,y0,a,b){&lt;br /&gt;
  return {x0+cos(alpha)*(a-i*1.5)*cos(x)-sin(alpha)*(b-i*1.5)*sin(x),&lt;br /&gt;
	  y0+sin(alpha)*(a-i*1.5)*cos(x)+cos(alpha)*(b-i*1.5)*sin(x)};&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
x0=0.;y0=0.;&lt;br /&gt;
alpha=PI/4.;&lt;br /&gt;
range=10.;&lt;br /&gt;
a=4.,b=10.;&lt;br /&gt;
&lt;br /&gt;
col=[&amp;quot;red&amp;quot;,&amp;quot;blue&amp;quot;,&amp;quot;green4&amp;quot;];&lt;br /&gt;
&lt;br /&gt;
vmessage(&amp;quot;sin(alpha)=%f, cos(alpha=%f)&amp;quot;,sin(alpha),cos(alpha));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
variable X=xfig_plot_new(15,15);&lt;br /&gt;
X.world([-range:range],[-range:range]);&lt;br /&gt;
&lt;br /&gt;
variable x_par_0 = ellipse(x,0,alpha,x0,y0,a,b)[0];&lt;br /&gt;
variable y_par_0 = ellipse(x,0,alpha,x0,y0,a,b)[1];&lt;br /&gt;
variable x_par_1 = ellipse(x,1,alpha,x0,y0,a,b)[0];&lt;br /&gt;
variable y_par_1 = ellipse(x,1,alpha,x0,y0,a,b)[1];&lt;br /&gt;
variable x_par_2 = ellipse(x,2,alpha,x0,y0,a,b)[0];&lt;br /&gt;
variable y_par_2 = ellipse(x,2,alpha,x0,y0,a,b)[1];&lt;br /&gt;
&lt;br /&gt;
X.yaxis(; major=[min(y_par_0),min(y_par_1),min(y_par_2),0,max(y_par_0),max(y_par_1),max(y_par_2)],&lt;br /&gt;
	ticlabels=[`$3\sigma$`,&lt;br /&gt;
		   `$-2\sigma$`,&lt;br /&gt;
		   `$-1\sigma$`,&lt;br /&gt;
		   `$\hat{b}=0$`,&lt;br /&gt;
		   `$+3\sigma$`,&lt;br /&gt;
		   `$+2\sigma$`,&lt;br /&gt;
		   `$+1\sigma$`],&lt;br /&gt;
	ticlabels2=0);&lt;br /&gt;
X.y2axis(;off);&lt;br /&gt;
X.x2axis(;off);&lt;br /&gt;
X.x1axis(; major=[min(x_par_0),min(x_par_1),min(x_par_2),0,max(x_par_0),max(x_par_1),max(x_par_2)],&lt;br /&gt;
	ticlabels=[`$-3\sigma$`,&lt;br /&gt;
		   `$-2\sigma$`,&lt;br /&gt;
		   `$-1\sigma$`,&lt;br /&gt;
		   `$\hat{a}=0$`,&lt;br /&gt;
		   `$+3\sigma$`,&lt;br /&gt;
		   `$+2\sigma$`,&lt;br /&gt;
		   `$+1\sigma$`],&lt;br /&gt;
	ticlabels2=0);&lt;br /&gt;
&lt;br /&gt;
X.plot([-10,0],[0,0];line=1);&lt;br /&gt;
X.plot([0,0],[-10,0];line=1);&lt;br /&gt;
&lt;br /&gt;
for (i=0;i&amp;lt;3;i++){&lt;br /&gt;
  variable x_par = ellipse(x,i,alpha,x0,y0,a,b)[0];&lt;br /&gt;
  variable y_par = ellipse(x,i,alpha,x0,y0,a,b)[1];&lt;br /&gt;
&lt;br /&gt;
  X.plot(x_par,y_par;color=col[i],width=3);&lt;br /&gt;
  X.plot([min(x_par),min(x_par)],[-10,y_par[where(x_par==min(x_par))]];line=1,color=col[i]);&lt;br /&gt;
  X.plot([max(x_par),max(x_par)],[-10,y_par[where(x_par==max(x_par))]];line=1,color=col[i]);&lt;br /&gt;
  X.plot([-10,x_par[where(y_par==min(y_par))]],[min(y_par),min(y_par)];line=1,color=col[i]);&lt;br /&gt;
  X.plot([-10,x_par[where(y_par==max(y_par))]],[max(y_par),max(y_par)];line=1,color=col[i]);  &lt;br /&gt;
  X.plot([0,0],[0,0];sym=&amp;quot;x&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
X.render(&amp;quot;chisqr_ellipse.eps&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Falkner</name></author>
	</entry>
</feed>