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><< Prev</b></a> | <a href="logx.html"><b>Next >></b></a> </td></tr></table> |
---|
9 | <font size=+3 color="#990000">loglogpn</font><br> |
---|
10 | Log-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 |
---|
16 | may have positive and negative values. This is useful to detect |
---|
17 | unexpected negative values in the Y data (causing repeated 'Negative |
---|
18 | data ignored' warnings), or to visualize the magnitude of an |
---|
19 | oscillating signal in log scale. |
---|
20 | |
---|
21 | <b>loglogpn</b>(X,Y) plots X versus Y in log-log scale, where Y may have |
---|
22 | positive and negative values. By default, negative values are ploted |
---|
23 | with dashed lines and positive values with full lines. If X is not |
---|
24 | specified, Y is plotted versus its index. |
---|
25 | |
---|
26 | <b>loglogpn</b>(X,Y,LineSpecPos,LineSpecNeg) specifies LineSpecPos and |
---|
27 | LineSpecNeg for the line types, marker symbols and colors for the |
---|
28 | positive and negative values of Y. For instance, |
---|
29 | <b>loglogpn</b>(X,Y,'ro-','b*') plots the positive Y with red line and 'o' |
---|
30 | markers and the negative Y with blue stars '*'. If only LineSpecPos |
---|
31 | is specified, the same is taken for LineSpecNeg, with a different |
---|
32 | LineStyle. |
---|
33 | |
---|
34 | <b>loglogpn</b>(X,Y,LineSpecPos,LineSpecNeg,'PropertyName',PropertyValue,...) |
---|
35 | sets 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 |
---|
39 | graphics 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> |
---|
59 | LOGLOG, SEMILOGY, <a href="semilogypn.html">semilogypn</a>. |
---|
60 | |
---|
61 | Published 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> <a href="loadfit.html"><b>Previous: loadfit</b></a></td><td align=right><a href="logx.html"><b>Next: logx</b></a> </td></tr></table><br> |
---|
67 | 2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br> |
---|
68 | <br> |
---|
69 | </body></html> |
---|