<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>tikz-3dplot</title>
	<atom:link href="http://tikz3dplot.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tikz3dplot.wordpress.com</link>
	<description>development notes on a LaTeX package which extends tikz/PGF to draw 3D diagrams</description>
	<lastBuildDate>Thu, 03 Jan 2013 04:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tikz3dplot.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/38b57b71c6457354fea42120747225e7?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>tikz-3dplot</title>
		<link>http://tikz3dplot.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tikz3dplot.wordpress.com/osd.xml" title="tikz-3dplot" />
	<atom:link rel='hub' href='http://tikz3dplot.wordpress.com/?pushpress=hub'/>
		<item>
		<title>tikz-3dplot on latex-community.org</title>
		<link>http://tikz3dplot.wordpress.com/2012/06/21/tikz-3dplot-on-latex-community-org/</link>
		<comments>http://tikz3dplot.wordpress.com/2012/06/21/tikz-3dplot-on-latex-community-org/#comments</comments>
		<pubDate>Thu, 21 Jun 2012 22:53:45 +0000</pubDate>
		<dc:creator>Jeff Hein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tikz3dplot.wordpress.com/?p=33</guid>
		<description><![CDATA[I have created a brief introduction (pdf version) to the tikz-3dplot package at latex-community.org as a submission for their LaTeX and graphics competition.  It is one of several entries in their LaTeX and Graphics contest.  The authors have done a great job introducing the power and versatility of LaTeX for graphical applications.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=33&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have created a <a href="http://www.latex-community.org/know-how/440-tikz-3dplot">brief introduction</a> (<a href="http://latex-community.org/tikz-3dplot_example.pdf">pdf version</a>) to the <a href="http://ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot">tikz-3dplot package</a> at <a href="http://www.latex-community.org/">latex-community.org</a> as a submission for their LaTeX and graphics competition.  It is <a href="http://www.latex-community.org/component/content/article/92-contests/442-graphics-contest-review">one of several entries</a> in their <a href="http://www.latex-community.org/component/content/article/92-contests/431-gnuplot-book">LaTeX and Graphics contest</a>.  The authors have done a great job introducing the power and versatility of LaTeX for graphical applications.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tikz3dplot.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tikz3dplot.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=33&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tikz3dplot.wordpress.com/2012/06/21/tikz-3dplot-on-latex-community-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9e39efe901097249054461831f60be7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">heinjd</media:title>
		</media:content>
	</item>
		<item>
		<title>Bugfix for Drawing Polytop Arcs (and more?)</title>
		<link>http://tikz3dplot.wordpress.com/2012/01/11/bugfix-for-drawing-polytop-arcs-and-more/</link>
		<comments>http://tikz3dplot.wordpress.com/2012/01/11/bugfix-for-drawing-polytop-arcs-and-more/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 20:48:27 +0000</pubDate>
		<dc:creator>Jeff Hein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tikz3dplot.wordpress.com/?p=28</guid>
		<description><![CDATA[I have recently submitted an updated version of tikz-3dplot to the CTAN, and the latest version should be available on the CTAN distribution site soon. Some time ago, a problem was brought to my attention regarding the polytope arc command. I finally cracked open the code and spent some time checking it out. It turned [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=28&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have recently submitted an updated version of tikz-3dplot to the <a href="http://ctan.org/">CTAN</a>, and the latest version should be available on the <a href="http://ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot">CTAN distribution site</a> soon.</p>
<p>Some time ago, a problem was brought to my attention regarding the polytope arc command.  I finally cracked open the code and spent some time checking it out.  It turned out to due how my numerical comparisons and conditional statements were written.  </p>
<p>To compare a numerical value to another, I use the <b>\pgfmathparse</b> command as follows:<br />
<code><br />
\pgfmathparse{\tdplotstartphi &lt; \tdplotresphi}<br />
</code><br />
The result of this will be a value written to <b>\pgfmathresult</b> that is <b>0</b> if false, or <b>1</b> if true.</p>
<p>Next, I perform conditional execution of subsequent commands using the <b>\ifthenelse</b> command from the <b>ifthen</b>package:<br />
<code><br />
\ifthenelse{\equal{\pgfmathresult}{1.0}}<br />
{<br />
%code block for true condition<br />
}<br />
{<br />
%code block for false condition<br />
}<br />
</code><br />
This is probably not the most elegant way to do things, but it works.  Or at least it did when I wrote this package.</p>
<p>When the recent bug was brought to my attention, I drilled down into the execution of the tikz-3dplot package until I discovered that these conditional execution statements were not properly firing.  They were always executing the false condition.  It turned out that the <b>\equal</b> comparison between <b>\pgfmathresult</b> and <b>1.0</b> was no longer valid.  Through trial and error, I found that it will now work if I use the following:<br />
<code><br />
\ifthenelse{\equal{\pgfmathresult}{1}}<br />
{<br />
%code block for true condition<br />
}<br />
{<br />
%code block for false condition<br />
}<br />
</code><br />
Note the subtle change of comparison, where I am now comparing <b>/pgfmathresult</b> to <b>1</b>, rather than <b>1.0</b>.  My best guess is that the nature of the value returned by \pgfmathresult and how it is compared using \equal has been subtly changed, and so the comparison was no longer valid.</p>
<p>I&#8217;m not well versed on how LaTeX and PGF handles the storage and comparison of values, and I&#8217;ve always had the impression that there is no real data type structure to speak of, but my guess is that this is where the problem arises.  I picture it to be the same as comparing two string literals that originated from numbers, and the conversion from number to string are different for each value, resulting in a different string.</p>
<p>So, long story short, lots of head scratching, and a subtle change repaired the issue.  Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tikz3dplot.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tikz3dplot.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=28&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tikz3dplot.wordpress.com/2012/01/11/bugfix-for-drawing-polytop-arcs-and-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9e39efe901097249054461831f60be7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">heinjd</media:title>
		</media:content>
	</item>
		<item>
		<title>bugfix for polar plotting range</title>
		<link>http://tikz3dplot.wordpress.com/2011/06/27/bugfix-for-polar-plotting-range/</link>
		<comments>http://tikz3dplot.wordpress.com/2011/06/27/bugfix-for-polar-plotting-range/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 18:45:31 +0000</pubDate>
		<dc:creator>Jeff Hein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tikz3dplot.wordpress.com/?p=23</guid>
		<description><![CDATA[I recently received advice on how to fix the issue with polar plots and incomplete drawing ranges. It turned out to be related to an order of operations issue in a distance formula, where a square root of a negative number was incorrectly performed before the negative number was squared. This was recently pointed out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=23&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I recently received advice on how to fix the issue with polar plots and incomplete drawing ranges.  It turned out to be related to an order of operations issue in a distance formula, where a square root of a negative number was incorrectly performed before the negative number was squared.</p>
<p>This was recently pointed out to me, and a simple addition of some parenthesis appears to have done the trick.  I have submitted the updated version to CTAN and it should be posted soon.</p>
<p>I am very grateful for all the feedback I have received, and hope to continue to receive bug reports and suggestions to improve this package.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tikz3dplot.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tikz3dplot.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=23&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tikz3dplot.wordpress.com/2011/06/27/bugfix-for-polar-plotting-range/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9e39efe901097249054461831f60be7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">heinjd</media:title>
		</media:content>
	</item>
		<item>
		<title>bugfix for x- and y-axes in polar plots</title>
		<link>http://tikz3dplot.wordpress.com/2011/03/01/bugfix-for-x-and-y-axes-in-polar-plots/</link>
		<comments>http://tikz3dplot.wordpress.com/2011/03/01/bugfix-for-x-and-y-axes-in-polar-plots/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 18:58:10 +0000</pubDate>
		<dc:creator>Jeff Hein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tikz3dplot.wordpress.com/?p=18</guid>
		<description><![CDATA[A problem with the x- and y-axes in the polar plot functionality was recently brought to my attention. It turned out to be a very subtle problem with the use of /pgfmathresult. To draw the x and y axes, a comparison is made between the current plotted angle and the angle where these axes exist. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=18&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A problem with the x- and y-axes in the polar plot functionality was recently brought to my attention.  It turned out to be a very subtle problem with the use of /pgfmathresult.  </p>
<p>To draw the x and y axes, a comparison is made between the current plotted angle and the angle where these axes exist.  This check is performed to ensure that the axes appear at the right depth when the plot is rendered.  Basically, any part of the plot &#8220;behind&#8221; the axis from the current perspective is rendered first, then the axis is drawn at the appropriate time by using this comparison, and then the rest of the shape is drawn.</p>
<p>My code was written to expect a result of &#8220;1.0&#8243; when returning true on the comparison statement.  The macro was returning &#8220;1&#8243;, and thus the conditional code was never executed, and the axes were never rendered.</p>
<p>After changing &#8220;1.0&#8243; to &#8220;1&#8243;, all was well.  The latest version is available on <a href="http://www.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/" target="_blank">CTAN</a>.</p>
<p>Now, it appears that, for some orientations, the shape is not fully rendering in a quadrant.  I will poke around and see if I can fix this issue, and will post an update.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tikz3dplot.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tikz3dplot.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=18&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tikz3dplot.wordpress.com/2011/03/01/bugfix-for-x-and-y-axes-in-polar-plots/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9e39efe901097249054461831f60be7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">heinjd</media:title>
		</media:content>
	</item>
		<item>
		<title>Update: Minor bugfixes</title>
		<link>http://tikz3dplot.wordpress.com/2010/04/14/update-minor-bugfixes/</link>
		<comments>http://tikz3dplot.wordpress.com/2010/04/14/update-minor-bugfixes/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 14:45:30 +0000</pubDate>
		<dc:creator>Jeff Hein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tikz3dplot.wordpress.com/?p=13</guid>
		<description><![CDATA[The tikz-3dplot package at CTAN has recently been updated with a few minor bugfixes and some code cleanup. A user had recently pointed out that the \tdplotsphericalsurfaceplot command would generate an error if the plotted function had a diverging value in it, even if this point was outside the range specified by \tdplotsetpolarplotrange. This has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=13&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The <a href="http://www.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/">tikz-3dplot package</a> at <a>CTAN</a> has recently been updated with a few minor bugfixes and some code cleanup.  A user had recently pointed out that the \tdplotsphericalsurfaceplot command would generate an error if the plotted function had a diverging value in it, even if this point was outside the range specified by \tdplotsetpolarplotrange.  This has now been corrected.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tikz3dplot.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tikz3dplot.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=13&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tikz3dplot.wordpress.com/2010/04/14/update-minor-bugfixes/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9e39efe901097249054461831f60be7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">heinjd</media:title>
		</media:content>
	</item>
		<item>
		<title>In Vas tikz-3dplot</title>
		<link>http://tikz3dplot.wordpress.com/2010/01/25/in-vas-tikz-3dplot/</link>
		<comments>http://tikz3dplot.wordpress.com/2010/01/25/in-vas-tikz-3dplot/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 00:15:45 +0000</pubDate>
		<dc:creator>Jeff Hein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tikz3dplot.wordpress.com/?p=3</guid>
		<description><![CDATA[For some time, I have developed the tikz-3dplot package, a LaTeX package which implements TikZ/PGF to render three-dimensional vector-based graphics in TikZ. Recently, this package was submitted to CTAN, where other LaTeX users can easily access it and learn how to contact me to provide feedback. Up until now, the package development was documented on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=3&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>For some time, I have developed the <a href="http://www.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/">tikz-3dplot</a> package, a <a href="http://www.latex-project.org/">LaTeX</a> package which implements <a href="http://sourceforge.net/projects/pgf/">TikZ/PGF</a> to render three-dimensional vector-based graphics in TikZ.  </p>
<p>Recently, this package was submitted to <a href="http://www.ctan.org/">CTAN</a>, where other LaTeX users can easily access it and learn how to contact me to provide feedback.  Up until now, the package development was documented on <a href="http://heinjd.wordpress.com/">my personal blog</a>.  Recently, I have been receiving <a href="http://mbork.pl/2010-01-21_tikz-3dplot_revisited_%28en%29">increased user feedback</a> and suggestions for the continued development of this package.  It is apparent that, through the help of this feedback, this package will continue to develop, and there will be more entries as time goes on.  This dedicated blog has been created, since it seemed more appropriate to focus the tikz-3dplot package development in its own place.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tikz3dplot.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tikz3dplot.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tikz3dplot.wordpress.com&#038;blog=11636247&#038;post=3&#038;subd=tikz3dplot&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tikz3dplot.wordpress.com/2010/01/25/in-vas-tikz-3dplot/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9e39efe901097249054461831f60be7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">heinjd</media:title>
		</media:content>
	</item>
	</channel>
</rss>
