<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
On 11/16/2010 02:06 AM, paolo compagnon wrote:
<blockquote
cite="mid:AANLkTim-iR3MZMBpS8T4chvbthr+zsFKBPm4iMhC=jft@mail.gmail.com"
type="cite">Hi all,<br>
<br>
In one of my Monte Carlo exercice I simulate a power law using 1D lévy
flights.<br>
I don't manage to find how to plot my histogram in a log log scale.<br>
I know that I can obtain a loglog scale with plot2d function like this
plot2d(x, y, logflag = 'll').<br>
But what about histplot function?<br>
</blockquote>
According to the documentation (help('histplot')), you can use the same
syntax with histplot.<br>
<br>
By the way you can change the scale of any graphics by using the
log_flags field of the Axes structure (see help('graphic_entities') and
help('axes_properties')):<br>
<tt>histplot(); // A histogram<br>
a=gca();<br>
a.data_bounds=[[0.1, 0.1];[4.5, 0.40]]; // To get positive values on X
and Y<br>
a.log_flags="ll"; // Switch to log-log</tt><br>
<br>
By the way the keyword is logflag while the filed is spelled
log_flags... Maybe they could be the same...<br>
<br>
HTH,<br>
Mathieu<br>
<blockquote
cite="mid:AANLkTim-iR3MZMBpS8T4chvbthr+zsFKBPm4iMhC=jft@mail.gmail.com"
type="cite"><br>
Best regards,<br>
Paolo<br>
<br>
<style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style></blockquote>
<br>
</body>
</html>