source: MML/trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/loglogpn.html @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 2.9 KB
Line 
1<html><head><title>loglogpn (Ezyfit Toolbox)</title>
2<!-- Help file for loglogpn.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
3<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
4 
5<link rel=stylesheet href="docstyle1.css" type="text/css">
6</head>
7<body bgcolor=#ffffff>
8<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="loadfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="logx.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
9<font size=+3 color="#990000">loglogpn</font><br>
10Log-log scale plot for positive and negative data.<br>
11<br>
12 
13<font size=+1 color="#990000"><b>Description</b></font>
14<code><pre>
15<b>loglogpn</b>(...) is the same as LOGLOG(...), except that the Y data
16may have positive and negative values. This is useful to detect
17unexpected negative values in the Y data (causing repeated 'Negative
18data ignored' warnings), or to visualize the magnitude of an
19oscillating signal in log scale.
20 
21<b>loglogpn</b>(X,Y) plots X versus Y in log-log scale, where Y may have
22positive and negative values. By default, negative values are ploted
23with dashed lines and positive values with full lines. If X is not
24specified, Y is plotted versus its index.
25 
26<b>loglogpn</b>(X,Y,LineSpecPos,LineSpecNeg) specifies LineSpecPos and
27LineSpecNeg for the line types, marker symbols and colors for the
28positive and negative values of Y. For instance,
29<b>loglogpn</b>(X,Y,'ro-','b*') plots the positive Y with red line and 'o'
30markers and the negative Y with blue stars '*'. If only LineSpecPos
31is specified, the same is taken for LineSpecNeg, with a different
32LineStyle.
33 
34<b>loglogpn</b>(X,Y,LineSpecPos,LineSpecNeg,'PropertyName',PropertyValue,...)
35sets property values for all lineseries graphics objects created by
36<b>loglogpn</b>. See the line reference page for more information.
37 
38[HP, HN] = <b>loglogpn</b>(...) returns the handles to the two lineseries
39graphics objects.
40 
41</pre>
42<font size=+1 color="#990000"><b>Examples</b></font>
43<pre>
44 
45   x = linspace(1,10,200);
46   y = sin(x*2)./x;
47   <b>loglogpn</b>(x,y,'r.','bo');
48   axis([1 10 1e-2 1]);
49 
50   <b>loglogpn</b>(x,y,'b-','r:','LineWidth',2);
51 
52   [hp, hn] = <b>loglogpn</b>(x,y,'k');
53   set(hp, 'LineWidth', 1);
54   set(hn, 'LineWidth', 2);
55 
56</pre>
57<font size=+1 color="#990000"><b>See Also</b></font>
58<pre>
59LOGLOG, SEMILOGY, <a href="semilogypn.html">semilogypn</a>.
60 
61Published output in the Help browser
62   showdemo <b>loglogpn</b> 
63</pre></code>
64 
65<br>
66<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="loadfit.html"><b>Previous: loadfit</b></a></td><td align=right><a href="logx.html"><b>Next: logx</b></a>&nbsp;</td></tr></table><br>
672005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
68<br>
69</body></html>
Note: See TracBrowser for help on using the repository browser.