<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[jHepWork forum]]></title>
		<link>http://jwork.org/jhepwork/forum/index.php</link>
		<description><![CDATA[The most recent posts in jHepWork forum.]]></description>
		<lastBuildDate>Sat, 14 Apr 2012 20:37:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: setAutoRange() bug in HPlot]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=45#p45</link>
			<description><![CDATA[<p>This has something to do with java6. Please read&nbsp; <a href="http://java.dzone.com/articles/why">http://java.dzone.com/articles/why</a></p>]]></description>
			<author><![CDATA[dummy@example.com (admin)]]></author>
			<pubDate>Sat, 14 Apr 2012 20:37:54 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=45#p45</guid>
		</item>
		<item>
			<title><![CDATA[Re: setAutoRange() bug in HPlot]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=44#p44</link>
			<description><![CDATA[<p>Hello, Andrew</p><p>Thanks, this does look like a bug. I can reproduce it in a Python/Jython rewrite of your code:</p><div class="codebox"><pre><code>from jhplot import *

xValues=[1,2,3,4,5]

# does not work
test = [1.04999999999961,1.04999999999961,1.0499999999996101,1.04999999999961,1.04999999999961]
# works
test = [1.049999961,1.049999961,1.049999961,1.049999961,1.049999961]

testP1D = P1D(&quot;test&quot;);
testP1D.fill(xValues, test);
       
# Plot it using autorange (which crashes) or manual axes (which doesn&#039;t). Comment out the relevant lines.
actualPlot = HPlot(&quot;test&quot;);
actualPlot.visible()
actualPlot.setAutoRange()
# actualPlot.setRangeAll(0, 6, 1.049999999999, 1.05);
actualPlot.draw(testP1D);</code></pre></div><p>This sequence of numbers is really remarkable: just by&nbsp; changing it a bit, the auto-range works again!<br />We need to look into this</p><p> cheers, Sergei</p>]]></description>
			<author><![CDATA[dummy@example.com (sergei)]]></author>
			<pubDate>Sat, 24 Mar 2012 18:24:42 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=44#p44</guid>
		</item>
		<item>
			<title><![CDATA[setAutoRange() bug in HPlot]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=43#p43</link>
			<description><![CDATA[<p>Hi all,</p><p>I&#039;ve found a problem with setAutoRange() in HPlot where it crashes if plot values are too similar. The example code below shows up the problem. I found that I could avoid the problem by manually setting the range but wanted to flag it up anyway so someone can look into it in the distributed code. It&#039;s a bit strange this one, and doesn&#039;t seem to happen at all values, even with the same gap. I am using jHepWork version 3.3.</p><p>Thanks,</p><p>Andrew</p><p>Example code:</p><p>&nbsp; &nbsp; public static void main(String[] args) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; // Set values. Strange numbers in test are simply because they&#039;re the ones I found the problem with.<br />&nbsp; &nbsp; &nbsp; &nbsp; double[] xValues={1,2,3,4,5};<br />&nbsp; &nbsp; &nbsp; &nbsp; double[] test = {1.04999999999961,1.04999999999961,1.0499999999996101,1.04999999999961,1.04999999999961};</p><p>&nbsp; &nbsp; &nbsp; &nbsp; // Fill P1d<br />&nbsp; &nbsp; &nbsp; &nbsp; P1D testP1D = new P1D(&quot;test&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; testP1D.fill(xValues, test);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; // Plot it using autorange (which crashes) or manual axes (which doesn&#039;t). Comment out the relevant lines.<br />&nbsp; &nbsp; &nbsp; &nbsp; HPlot actualPlot = new HPlot(&quot;test&quot;, 1280, 1024);<br />&nbsp; &nbsp; &nbsp; &nbsp; actualPlot.setAutoRange();<br />//&nbsp; &nbsp; &nbsp; &nbsp; actualPlot.setRangeAll(0, 6, 1.049999999999, 1.05);<br />&nbsp; &nbsp; &nbsp; &nbsp; actualPlot.draw(testP1D);<br />&nbsp; &nbsp; &nbsp; &nbsp; actualPlot.visible();<br />&nbsp; &nbsp; }</p>]]></description>
			<author><![CDATA[dummy@example.com (ALancaster)]]></author>
			<pubDate>Fri, 16 Mar 2012 11:44:21 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=43#p43</guid>
		</item>
		<item>
			<title><![CDATA[jhepwork-3.3 is out]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=42#p42</link>
			<description><![CDATA[<p>Hello,</p><p> jHepWork 3.3 is released. This release features high-performance containers (P0I,P0D,P1D,P2D) which are about factor 5-10 faster than the Java collections&nbsp; or Python lists. It also includes a new 3D canvas, HPlot3XYZ, as well as an interactive fit engine.</p><p>admin</p>]]></description>
			<author><![CDATA[dummy@example.com (admin)]]></author>
			<pubDate>Tue, 24 Jan 2012 00:37:38 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=42#p42</guid>
		</item>
		<item>
			<title><![CDATA[jHepWork 3.3b]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=41#p41</link>
			<description><![CDATA[<p>jHepWork 3.3 (beta) is out. Look at <a href="http://jwork.org/jhepwork/download/">http://jwork.org/jhepwork/download/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (admin)]]></author>
			<pubDate>Sat, 24 Dec 2011 03:58:08 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=41#p41</guid>
		</item>
		<item>
			<title><![CDATA[Re: Examples of different plot styles]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=40#p40</link>
			<description><![CDATA[<p>sorry, I think the polar plots are there: in the package org.jfree.chart.plot.Plot<br />Unfortunately, the programming should be done using jfreechart API since no high-level interface is<br />included.</p>]]></description>
			<author><![CDATA[dummy@example.com (sergei)]]></author>
			<pubDate>Sat, 19 Nov 2011 04:00:32 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=40#p40</guid>
		</item>
		<item>
			<title><![CDATA[Re: Examples of different plot styles]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=39#p39</link>
			<description><![CDATA[<p>The polar plot style is not implemented. I hope it will be included in future</p><p>best, Sergei C.</p>]]></description>
			<author><![CDATA[dummy@example.com (sergei)]]></author>
			<pubDate>Sat, 19 Nov 2011 03:49:31 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=39#p39</guid>
		</item>
		<item>
			<title><![CDATA[Re: Examples of different plot styles]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=38#p38</link>
			<description><![CDATA[<p>Hello,</p><p>may I have a question (hope this is the right place since you&#039;ve mentioned something about different plot styles). I&#039;d like to know if there&#039;s a way to create a polar plot using jHepWork, for example similar to those in ROOT (see link: <a href="http://root.cern.ch/root/html/tutorials/graphs/graphpolar.C.html">http://root.cern.ch/root/html/tutorials &#133; lar.C.html</a> )</p><p>Thanks in advance<br />Krzysztof</p>]]></description>
			<author><![CDATA[dummy@example.com (kglowinski)]]></author>
			<pubDate>Thu, 17 Nov 2011 07:31:30 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=38#p38</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cylinders and other 3D objects]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=37#p37</link>
			<description><![CDATA[<p>Yes, you can.&nbsp; Run the example [Tools]-&gt;[jHPlot examples]-&gt;3D Canvas-&gt; canvas3D_engine3D.py<br />At least you can get a 3D&nbsp; pot. For other shapes, define an off file.</p>]]></description>
			<author><![CDATA[dummy@example.com (admin)]]></author>
			<pubDate>Tue, 15 Nov 2011 04:14:10 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=37#p37</guid>
		</item>
		<item>
			<title><![CDATA[Cylinders and other 3D objects]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=36#p36</link>
			<description><![CDATA[<p>Hello everybody!<br />I haven&#039;t found any axample about how to make a 3d object. I should get a cylinder. Cylider constructor needs a Model3d object as parameter, but a Model3D constructos needs an Applet object as parameter. That is confusing without any example or detailed explanation.&nbsp; <img src="http://jwork.org/jhepwork/forum/img/smilies/roll.png" width="15" height="15" alt="roll" />&nbsp; All I know about applets, that they are small programs in web (games etc), but I do not understand how they can be used for my case. Can I see any exapmle anywhere?<br />Thanks,<br />Ieva</p>]]></description>
			<author><![CDATA[dummy@example.com (ievapaleja)]]></author>
			<pubDate>Fri, 11 Nov 2011 08:54:06 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=36#p36</guid>
		</item>
		<item>
			<title><![CDATA[jhepwork 3.2 is released]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=35#p35</link>
			<description><![CDATA[<p>jhepwork 3.2 is out.</p><p>It happened earlier due to a bug which led to failures to start IDE on some platforms (Linux/Unix, Window XP). <br />Now it is fixed. </p><p><a href="http://jwork.org/jhepwork/download/jhepwork-3.2.txt">http://jwork.org/jhepwork/download/jhepwork-3.2.txt</a></p>]]></description>
			<author><![CDATA[dummy@example.com (admin)]]></author>
			<pubDate>Sun, 23 Oct 2011 01:43:18 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=35#p35</guid>
		</item>
		<item>
			<title><![CDATA[jhepwork 3.2 beta]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=34#p34</link>
			<description><![CDATA[<p>A jhepwork 3.2 (beta version) is available.&nbsp; <a href="http://jwork.org/jhepwork/download/">http://jwork.org/jhepwork/download/</a></p><p> Main features include:<br />&nbsp; </p><ul><li><p>Symbolic (analytic) calculations can be done in Java or Jython</p></li><li><p>Analytical calculation (Octave/matlab files) can be executed using the same &quot;run&quot; button as for jython/BeanShell/Java code.<br />&nbsp; &nbsp; Also F8 can run matlab/octave code.</p></li><li><p>[Help]-&gt;[jHepWork help] starts default browser with online manual. We do not include static manual with the application.</p></li><li><p>Putting together the major financial Java packages.</p></li><li><p>All API links redirected to Oracle API</p></li><li><p>Symbolic calculations (simplify, integrate, expansion, differential). See jhplot.math.Symbolic</p></li><li><p>HPlotter canvas - will use Jas/Aida style of plotting</p></li></ul><p> Documentation:<br />&nbsp; Contains description for analytic calculations<br />&nbsp; Description for financial calculations</p>]]></description>
			<author><![CDATA[dummy@example.com (admin)]]></author>
			<pubDate>Fri, 14 Oct 2011 05:00:48 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=34#p34</guid>
		</item>
		<item>
			<title><![CDATA[jhepwork-3.1 (stable) is out]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=33#p33</link>
			<description><![CDATA[<p>jHepWork 3.1 (Java7 ready) is out: <a href="http://jwork.org/jhepwork/download.php">http://jwork.org/jhepwork/download.php</a></p>]]></description>
			<author><![CDATA[dummy@example.com (admin)]]></author>
			<pubDate>Sat, 03 Sep 2011 19:32:41 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=33#p33</guid>
		</item>
		<item>
			<title><![CDATA[Re: BinomialRandomVariable p<.5]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=32#p32</link>
			<description><![CDATA[<p>Just to confirm: this implementation does not have this problem:<br /></p><div class="codebox"><pre><code>from jhplot  import *
from jhplot.io.csv import *

p=0.5-0.01
s=20
n=1000
# x1= BinomialRandomVariable(s,p) # error

from cern.jet.random.engine import *
from cern.jet.random import *
engine = MersenneTwister()
x1=Binomial(s, p, engine) 

c1 = HPlot(&quot;Canvas&quot;,600,400,1, 1)
c1.visible(1)
c1.setAutoRange()
h1 = H1D(&quot;%s/%s&quot;%(s,p),2*s+1, 0, s)
h1.setErrAll(0)
for i in range(n):
   y1=x1.nextInt()
   h1.fill(y1)
   
c1.draw(h1)
c1.drawStatBox(h1,375,30)
lab=HLabel(&quot;%s samples&quot;%n, 0.15, 0.7, &quot;NDC&quot;)
c1.add(lab)
c1.update()</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (sergei)]]></author>
			<pubDate>Sat, 03 Sep 2011 16:13:34 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=32#p32</guid>
		</item>
		<item>
			<title><![CDATA[Re: BinomialRandomVariable p<.5]]></title>
			<link>http://jwork.org/jhepwork/forum/viewtopic.php?pid=31#p31</link>
			<description><![CDATA[<p>Hello, </p><p> Thanks. This does look like an error in the implementation but we will need to look at.</p><p> For now, please use several other implementations:</p><p> cern.jet.random.Binomial</p><p> or</p><p> umontreal.iro.lecuyer.randvar.BinomialGen</p><p> or</p><p> org.apache.commons.math.distribution.BinomialDistributionImpl</p><br /><p>See details in : <a href="http://jwork.org/jhepwork/api_extra/">http://jwork.org/jhepwork/api_extra/</a></p><p> best wishes, Sergei</p>]]></description>
			<author><![CDATA[dummy@example.com (sergei)]]></author>
			<pubDate>Sat, 03 Sep 2011 13:47:50 +0000</pubDate>
			<guid>http://jwork.org/jhepwork/forum/viewtopic.php?pid=31#p31</guid>
		</item>
	</channel>
</rss>

