<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Waterloo graphics beta	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/waterloo-graphics-beta/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=waterloo-graphics-beta</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 02 Apr 2018 14:34:45 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Nino		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-421950</link>

		<dc:creator><![CDATA[Nino]]></dc:creator>
		<pubDate>Mon, 02 Apr 2018 14:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-421950</guid>

					<description><![CDATA[Hi Yair,

First of all, thank you very much for this great website. So far, together with your 2 books (which I recommend to buy and read), it represents the best resource available about Matlab programming and software development.

I have been trying to use the Waterloo graphics on a Mac with Matlab 2015b, and I have got the following error when running the PlotGallery() test function or one of the available plot examples, either in this blog or in the Waterloo project website:

&lt;pre lang=&quot;matlab&quot;&gt;
Error using GXGraph (line 39)
Java exception occurred:
java.lang.NoSuchMethodError: org.jdesktop.swingx.painter.AbstractPainter.setAntialiasing(Z)V
	at org.jdesktop.swingx.JXLabel.initPainterSupport(JXLabel.java:287)
	at org.jdesktop.swingx.JXLabel.(JXLabel.java:230)
	at kcl.waterloo.graphics.GJAxisPanel.(GJAxisPanel.java:64)
	at kcl.waterloo.graphics.GJAxisPanel.(GJAxisPanel.java:147)
	at kcl.waterloo.graphics.GJAxisPanel.createInstance(GJAxisPanel.java:116)
	at kcl.waterloo.graphics.GJAbstractGraph.createAxes(GJAbstractGraph.java:469)
	at kcl.waterloo.graphics.GJGraphContainer.createInstance(GJGraphContainer.java:73)

Error in GXFigure/subplot (line 112)
                varargout{1}=GXGraph(p);

Error in gxgca (line 17)
        h=subplot(currentFigure, 1, 1, 1);
&lt;/pre&gt;

I have tried to install Waterloo in both ways, manually and by using the provided script, but I keep getting the same error. In &lt;a href=&quot;https://sourceforge.net/p/waterloo/discussion/1113980/thread/d93d580b/&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/p/waterloo/discussion/1113980/thread/d93d580b/&lt;/a&gt; I have also noticed that someone else had the same issue in the past, and after doing what Malcolm suggested in the discussion forum, the error is still there in my case.

I haven&#039;t tried to install and use Waterloo on a Windows platform yet. 

Any idea on what could cause that error and how I can fix it?

Thanks a lot,

Nino]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>First of all, thank you very much for this great website. So far, together with your 2 books (which I recommend to buy and read), it represents the best resource available about Matlab programming and software development.</p>
<p>I have been trying to use the Waterloo graphics on a Mac with Matlab 2015b, and I have got the following error when running the PlotGallery() test function or one of the available plot examples, either in this blog or in the Waterloo project website:</p>
<pre lang="matlab">
Error using GXGraph (line 39)
Java exception occurred:
java.lang.NoSuchMethodError: org.jdesktop.swingx.painter.AbstractPainter.setAntialiasing(Z)V
	at org.jdesktop.swingx.JXLabel.initPainterSupport(JXLabel.java:287)
	at org.jdesktop.swingx.JXLabel.(JXLabel.java:230)
	at kcl.waterloo.graphics.GJAxisPanel.(GJAxisPanel.java:64)
	at kcl.waterloo.graphics.GJAxisPanel.(GJAxisPanel.java:147)
	at kcl.waterloo.graphics.GJAxisPanel.createInstance(GJAxisPanel.java:116)
	at kcl.waterloo.graphics.GJAbstractGraph.createAxes(GJAbstractGraph.java:469)
	at kcl.waterloo.graphics.GJGraphContainer.createInstance(GJGraphContainer.java:73)

Error in GXFigure/subplot (line 112)
                varargout{1}=GXGraph(p);

Error in gxgca (line 17)
        h=subplot(currentFigure, 1, 1, 1);
</pre>
<p>I have tried to install Waterloo in both ways, manually and by using the provided script, but I keep getting the same error. In <a href="https://sourceforge.net/p/waterloo/discussion/1113980/thread/d93d580b/" rel="nofollow">https://sourceforge.net/p/waterloo/discussion/1113980/thread/d93d580b/</a> I have also noticed that someone else had the same issue in the past, and after doing what Malcolm suggested in the discussion forum, the error is still there in my case.</p>
<p>I haven&#8217;t tried to install and use Waterloo on a Windows platform yet. </p>
<p>Any idea on what could cause that error and how I can fix it?</p>
<p>Thanks a lot,</p>
<p>Nino</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yousaf		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-329245</link>

		<dc:creator><![CDATA[Yousaf]]></dc:creator>
		<pubDate>Thu, 07 Aug 2014 03:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-329245</guid>

					<description><![CDATA[I am making contours of temperature on a geometry of x and y axis. Could you please suggest me how could i normalize x and y axis between 0 and 1.
Thanks]]></description>
			<content:encoded><![CDATA[<p>I am making contours of temperature on a geometry of x and y axis. Could you please suggest me how could i normalize x and y axis between 0 and 1.<br />
Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Malcolm Lidierth		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-288188</link>

		<dc:creator><![CDATA[Malcolm Lidierth]]></dc:creator>
		<pubDate>Thu, 24 Oct 2013 07:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-288188</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-287926&quot;&gt;Peter&lt;/a&gt;.

@Peter
In waterloodemo comment out line 48:
set(Next.hgcontainer, &#039;Opaque&#039;, &#039;off&#039;);

In MouseMotionHandler, for all callbacks with &quot;focus_subject&quot; as input, explicitly cast the handle to double with
focus_subject=double(focus_subject)
on the first line of the callback.

waterloodemo should now work.

Other updates are likely to be needed for your own code as HG2 evolves.

Regards
Malcolm]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-287926">Peter</a>.</p>
<p>@Peter<br />
In waterloodemo comment out line 48:<br />
set(Next.hgcontainer, &#8216;Opaque&#8217;, &#8216;off&#8217;);</p>
<p>In MouseMotionHandler, for all callbacks with &#8220;focus_subject&#8221; as input, explicitly cast the handle to double with<br />
focus_subject=double(focus_subject)<br />
on the first line of the callback.</p>
<p>waterloodemo should now work.</p>
<p>Other updates are likely to be needed for your own code as HG2 evolves.</p>
<p>Regards<br />
Malcolm</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-287926</link>

		<dc:creator><![CDATA[Peter]]></dc:creator>
		<pubDate>Wed, 23 Oct 2013 14:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-287926</guid>

					<description><![CDATA[Waterloo and HG2

Waterloo (the GUI components) seems to be incompatible with the new HG2, at least in my Matlab version (2012b). For the simplest case, when I run waterloodemo I get a bunch of error messages. 

Anyone have any insights?]]></description>
			<content:encoded><![CDATA[<p>Waterloo and HG2</p>
<p>Waterloo (the GUI components) seems to be incompatible with the new HG2, at least in my Matlab version (2012b). For the simplest case, when I run waterloodemo I get a bunch of error messages. </p>
<p>Anyone have any insights?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-275627</link>

		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Tue, 01 Oct 2013 08:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-275627</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-275587&quot;&gt;Dave&lt;/a&gt;.

More detailed; I want to read a .png-image, add it to a MATLAB axis or FXGraph axis and have the possibility to manipulate its position and angle.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-275587">Dave</a>.</p>
<p>More detailed; I want to read a .png-image, add it to a MATLAB axis or FXGraph axis and have the possibility to manipulate its position and angle.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-275587</link>

		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Tue, 01 Oct 2013 06:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-275587</guid>

					<description><![CDATA[Is it possible to read images (.png) through the waterloo api? I can&#039;t seem to find the code for it. Thanks in advance]]></description>
			<content:encoded><![CDATA[<p>Is it possible to read images (.png) through the waterloo api? I can&#8217;t seem to find the code for it. Thanks in advance</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Malcolm Lidierth		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-240720</link>

		<dc:creator><![CDATA[Malcolm Lidierth]]></dc:creator>
		<pubDate>Fri, 16 Aug 2013 12:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-240720</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-238930&quot;&gt;Ben&lt;/a&gt;.

@Ben
You are creating a MATLAB annotation, not a Waterloo one, as you set &quot;gcf&quot; as the target. That draws a MATLAB arrow. Change gcc to gr1. Also if a HeadLength is specified you need a HeadWidth too - I&#039;ll look at that.

Change to:

&lt;pre lang=&quot;matlab&quot;&gt;
annotation(gr1,&#039;arrow&#039;,[0.6 0.5],[0.2 0.4],&#039;HeadLength&#039;,4,&#039;HeadWidth&#039;, 2, &#039;LineWidth&#039;,5);
&lt;/pre&gt;

to draw a (big) arrow.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-238930">Ben</a>.</p>
<p>@Ben<br />
You are creating a MATLAB annotation, not a Waterloo one, as you set &#8220;gcf&#8221; as the target. That draws a MATLAB arrow. Change gcc to gr1. Also if a HeadLength is specified you need a HeadWidth too &#8211; I&#8217;ll look at that.</p>
<p>Change to:</p>
<pre lang="matlab">
annotation(gr1,'arrow',[0.6 0.5],[0.2 0.4],'HeadLength',4,'HeadWidth', 2, 'LineWidth',5);
</pre>
<p>to draw a (big) arrow.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ben		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-239581</link>

		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Wed, 14 Aug 2013 23:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-239581</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-238930&quot;&gt;Ben&lt;/a&gt;.

here is what I&#039;ve tried
&lt;pre lang=&quot;matlab&quot;&gt; 
f = GXFigure();
x = -5:0.1:5;
gr1 = gxgca();
a1 = line(gr1, x, cos(x), &#039;LineSpec&#039;,&#039;-ob&#039;);
b1 = line(gr1, x, sin(x), &#039;LineSpec&#039;,&#039;-sg&#039;);
annotation(gcf,&#039;arrow&#039;,[0.6 0.5],[0.2 0.4],&#039;HeadLength&#039;,4,&#039;LineWidth&#039;,5);
gr1.getObject().getView().autoScale();
&lt;/pre&gt; 

the plot works, but not the arrow...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-238930">Ben</a>.</p>
<p>here is what I&#8217;ve tried</p>
<pre lang="matlab"> 
f = GXFigure();
x = -5:0.1:5;
gr1 = gxgca();
a1 = line(gr1, x, cos(x), 'LineSpec','-ob');
b1 = line(gr1, x, sin(x), 'LineSpec','-sg');
annotation(gcf,'arrow',[0.6 0.5],[0.2 0.4],'HeadLength',4,'LineWidth',5);
gr1.getObject().getView().autoScale();
</pre>
<p>the plot works, but not the arrow&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ben		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-238930</link>

		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Wed, 14 Aug 2013 00:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-238930</guid>

					<description><![CDATA[Can you please show an example of how to annotate with an arrow?]]></description>
			<content:encoded><![CDATA[<p>Can you please show an example of how to annotate with an arrow?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Waterloo graphics animation and web deployment &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/waterloo-graphics-beta#comment-220575</link>

		<dc:creator><![CDATA[Waterloo graphics animation and web deployment &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 03 Jul 2013 18:02:38 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3907#comment-220575</guid>

					<description><![CDATA[[...] Undocumented Matlab   Charting Matlab&#8217;s unsupported hidden underbelly   Skip to content HomeAboutConsultingTrainingIB-MatlabIB-Matlab usage examplesIB-Matlab partnersMatlab-Java bookTODOPoliciesSite map        &#8592; Waterloo graphics beta [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Undocumented Matlab   Charting Matlab&#8217;s unsupported hidden underbelly   Skip to content HomeAboutConsultingTrainingIB-MatlabIB-Matlab usage examplesIB-Matlab partnersMatlab-Java bookTODOPoliciesSite map        &larr; Waterloo graphics beta [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
