TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tex – Show off your best scientific illustration

159 pointsby anuragramdasanover 11 years ago

10 comments

susi22over 11 years ago
For those who want to create similar looking (in quality) graphics: Check out asymptote [1] (IMO one of the most undervalued software in the TeX community). It has a pretty nice programming language only made for drawing. It&#x27;s got types, structs, modules etc and is a real joy to program. It&#x27;s also very quick to compile which allows for very quick feedback loop (almost &quot;live&quot; editing with a keybinding on vim&#x2F;emacs)<p>Of course, if you&#x27;re already a TikZ pro then just stick with that.<p>To give you a taste:<p><a href="http://www.marris.org/asymptote/animations/index.html" rel="nofollow">http:&#x2F;&#x2F;www.marris.org&#x2F;asymptote&#x2F;animations&#x2F;index.html</a><p><a href="http://www.piprime.fr/developpeur/asymptote/surveys-asy/fractals-as2d/?posts_per_page=-1" rel="nofollow">http:&#x2F;&#x2F;www.piprime.fr&#x2F;developpeur&#x2F;asymptote&#x2F;surveys-asy&#x2F;frac...</a> (many more examples)<p>[1] <a href="http://asymptote.sourceforge.net/" rel="nofollow">http:&#x2F;&#x2F;asymptote.sourceforge.net&#x2F;</a>
jdreaverover 11 years ago
I remember when I first learned about Tikz. I sat down and read most of the manual in one sitting (this is NOT a great way to learn anything, in my opinion), and I used Tikz everywhere. I would make a powerpoint using LaTeX&#x2F;beamer simply so I could make some cool animations. I am not quite so excited to use it everywhere nowadays :)<p>The Tikz manual is very well written, and the author, Till Tantau, includes a section on general tips for creating graphics. He rightly states that graphics should be first-class citizens of papers and presentations. He also says that you should <i>outline</i> and <i>plan</i> your graphics before you jump straight to writing Tikz code. I wish I followed that advice more a few years ago. Tikz is beautiful, but I find nothing holds a candle to planning a graphic than pencil and paper.
评论 #7206999 未加载
评论 #7208634 未加载
cal2over 11 years ago
TeX and TikZ were my saving grace in college. I really don&#x27;t know where I&#x27;d be without it.<p>Seeing your code work is great, but seeing the results of my TeX and TikZ code personally provides me with an additional level of gratification. It&#x27;s awesome!<p>My friends would spend several (painful) hours in Word trying to format our (bio)chemistry lab reports perfectly to the professor&#x27;s&#x2F;TA&#x27;s specifications.<p>I would just punch in my numbers into a text file, run it through a LuaTeX template I wrote, and would end up with a perfectly formatted lab report.<p>Now, I work in R&amp;D for an IVD company and employ the same logic for my notebook studies (which require lot #s, expiration dates, asset #s, locations, etc).<p>I realize TeX isn&#x27;t for everyone, but you should seriously look into it if you think you can benefit from it.<p>TeX has saved me days, if not weeks, such that I can focus on more important stuff rather than struggling with Word.
gjm11over 11 years ago
Please, could someone who can fix up titles correct the capitalization? Not &quot;Tex&quot; but &quot;TeX&quot;.<p>Strictly, the letters are tau-epsilon-chi. And, as Knuth puts it, &quot;when you say it correctly to your computer, the terminal may become slightly moist&quot;. (Like the &quot;ch&quot; in &quot;loch&quot;.) See, e.g., the currently-highest-rated answer at <a href="http://tex.stackexchange.com/questions/17502/what-is-the-correct-pronunciation-of-tex-and-latex" rel="nofollow">http:&#x2F;&#x2F;tex.stackexchange.com&#x2F;questions&#x2F;17502&#x2F;what-is-the-cor...</a> .
评论 #7209145 未加载
评论 #7209100 未加载
Argorakover 11 years ago
Quick side-question:<p>I know metapost and tikz rather well and am searching for a JS library that does similar things using SVG, especially when it comes to path drawing.<p>Example: draw a curved path from the center of item A to the center of item B, but cut off at the bounding box of B and put an arrow head there. In metapost, thats easy (after grokking the syntax):<p>ndb2.c{right}..{curl0}dk.c cutafter BpathBox(dk);<p>Most JS libraries (including D3 and Raphael) make this pretty hard, as they rarely deal with shapes and intersections (beyond masking and clipping). D3 for example is awesome for graphs, but not if you want to put something on intersections with them :).<p>I found jointjs[1] and kind of like it, but is there anything else?<p><a href="http://www.jointjs.com/demos/pn" rel="nofollow">http:&#x2F;&#x2F;www.jointjs.com&#x2F;demos&#x2F;pn</a>
评论 #7207326 未加载
middleclickover 11 years ago
So can anyone discuss the benefits of doing something like this in Tex versus using a program like say Inkscape and using EPS? [Serious]
评论 #7207201 未加载
评论 #7208855 未加载
therobot24over 11 years ago
so jealous, a great tikz figure is like art - one thing that isn&#x27;t emphasized enough to grad students is that good figures can make it so much easier to understand the concepts and results being presented
banachtarskiover 11 years ago
I made a great one showing how Schwarz-Christoffel mappings worked. Wonder if I can dig it up somewhere...
neltnerbover 11 years ago
Aww, I was hoping to show off the coolest graphics I ever made doing some seriously intense data analysis on TEM images in MATLAB... but TeX only. Oh well =(
ezequiel-garzonover 11 years ago
Does anybody know when TikZ&#x2F;PGF were first released?
评论 #7208640 未加载