<?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=Lin_log_axis_%28xfig_example%29</id>
	<title>Lin log axis (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=Lin_log_axis_%28xfig_example%29"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lin_log_axis_(xfig_example)&amp;action=history"/>
	<updated>2026-04-30T01:34:52Z</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=Lin_log_axis_(xfig_example)&amp;diff=1544&amp;oldid=prev</id>
		<title>Obst at 13:54, 17 May 2018</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lin_log_axis_(xfig_example)&amp;diff=1544&amp;oldid=prev"/>
		<updated>2018-05-17T13:54:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:54, 17 May 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot; &gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;p.render(&amp;quot;lin_log_axis.pdf&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;p.render(&amp;quot;lin_log_axis.pdf&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:SLxfig]]&lt;/ins&gt;&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=Lin_log_axis_(xfig_example)&amp;diff=1538&amp;oldid=prev</id>
		<title>Obst: Obst moved page Isis:slxfig:lin log axis to Lin log axis (xfig example) without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lin_log_axis_(xfig_example)&amp;diff=1538&amp;oldid=prev"/>
		<updated>2018-05-17T13:37:34Z</updated>

		<summary type="html">&lt;p&gt;Obst moved page &lt;a href=&quot;/wiki/index.php?title=Isis:slxfig:lin_log_axis&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Isis:slxfig:lin log axis (page does not exist)&quot;&gt;Isis:slxfig:lin log axis&lt;/a&gt; to &lt;a href=&quot;/wiki/index.php/Lin_log_axis_(xfig_example)&quot; title=&quot;Lin log axis (xfig example)&quot;&gt;Lin log axis (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 13:37, 17 May 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=Lin_log_axis_(xfig_example)&amp;diff=1499&amp;oldid=prev</id>
		<title>Litzinger: Created page with &quot;300px  &lt;pre&gt; require(&quot;isisscripts&quot;);  %%%%%%%%%%%%%%%%%%%%% define function for axis transformation: private define mylinlog_wcs_func (val, opt) {...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Lin_log_axis_(xfig_example)&amp;diff=1499&amp;oldid=prev"/>
		<updated>2018-05-08T11:36:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php/File:Lin_log_axis.png&quot; title=&quot;File:Lin log axis.png&quot;&gt;300px&lt;/a&gt;  &amp;lt;pre&amp;gt; require(&amp;quot;isisscripts&amp;quot;);  %%%%%%%%%%%%%%%%%%%%% define function for axis transformation: private define mylinlog_wcs_func (val, opt) {...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:lin_log_axis.png|300px]]&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;
%%%%%%%%%%%%%%%%%%%%% define function for axis transformation:&lt;br /&gt;
private define mylinlog_wcs_func (val, opt)&lt;br /&gt;
{&lt;br /&gt;
  variable brk = opt.brk;&lt;br /&gt;
  variable scl = opt.scl;&lt;br /&gt;
  variable is_array = typeof (val)==Array_Type;&lt;br /&gt;
  variable x = [@val];&lt;br /&gt;
  variable i1 =[where(x &amp;gt; brk)];&lt;br /&gt;
  variable i2 =[where(-brk &amp;lt;= x &amp;lt;= brk)];&lt;br /&gt;
  variable i3 = [where(x &amp;lt; -brk)];&lt;br /&gt;
  x[i1] =  log(x[i1]/brk)+brk*scl;&lt;br /&gt;
  x[i2] =  x[i2]*scl ;&lt;br /&gt;
  x[i3] = -log(-x[i3]/brk)-brk*scl;&lt;br /&gt;
  return is_array ? x : x[0] ;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%% define inverse function for axis transformation:&lt;br /&gt;
private define mylinlog_wcs_invfunc (val, opt)&lt;br /&gt;
{&lt;br /&gt;
  variable brk = opt.brk;&lt;br /&gt;
  variable scl = opt.scl;&lt;br /&gt;
  variable is_array = typeof (val)==Array_Type;&lt;br /&gt;
  variable x = [@val];&lt;br /&gt;
  variable i1 =[where(x &amp;gt; brk)];&lt;br /&gt;
  variable i2 =[where(-brk &amp;lt;= x &amp;lt;= brk)];&lt;br /&gt;
  variable i3 = [where(x &amp;lt; -brk)];&lt;br /&gt;
  x[i1] =  exp(x[i1]-brk*scl)*brk;&lt;br /&gt;
  x[i2] =  x[i2]/scl ;&lt;br /&gt;
  x[i3] = -exp(-x[i3]-brk*scl)*brk;&lt;br /&gt;
  return is_array ? x : x[0] ;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
%% &amp;quot;opt&amp;quot; is ONE optional argument (for more information use, e.g., a non-skalar argument)&lt;br /&gt;
%% check of array or not is only required due to the different cases. other functions&lt;br /&gt;
%% can simply use: return f(val);&lt;br /&gt;
&lt;br /&gt;
xfig_plot_add_transform (&amp;quot;mylinlog&amp;quot;, &amp;amp;mylinlog_wcs_func, &amp;amp;mylinlog_wcs_invfunc, struct{brk=1,scl=1} );&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%% generate some data:&lt;br /&gt;
variable xlim = 50; &lt;br /&gt;
variable x = [-(xlim^[1:0:#100]) , [-1:1:#50] , xlim^[0:1:#100] ];&lt;br /&gt;
variable y = exp(-1/(0.2+x^2))/(x^2+0.1);&lt;br /&gt;
&lt;br /&gt;
variable major = [0,[1,10,50],-dup];&lt;br /&gt;
variable minor = [[1:9]*0.1,-dup,[2:9], -dup, 10*[2:4], -dup];&lt;br /&gt;
%%%%%%%%%%%% plot data:&lt;br /&gt;
variable p = xfig_plot_new (14,10);&lt;br /&gt;
p.world (-(xlim^1.1), -dup, min_max(y); ylog, pady=0.05);&lt;br /&gt;
p.xaxis(;wcs=&amp;quot;mylinlog&amp;quot;, minor = minor, major=major);&lt;br /&gt;
p.x2axis(; ticlabels = 0);&lt;br /&gt;
p.plot(x,y);&lt;br /&gt;
p.render(&amp;quot;lin_log_axis.pdf&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Litzinger</name></author>
	</entry>
</feed>