Archive | Programming RSS feed for this section

11 April 2010 View Comments

PStricks vs. TikZ for Technical Diagrams

Norman Ramsey at StackOverflow once asked: My group uses Literate Programming for most of our source code—this means that internal documentation is written using LaTeX. We have been using PStricks for fancy technical diagrams of the system, but have recently been recommended to use TikZ. I’ve gathered this information:

TikZ/PGF is new and maintained; PStricks went a [...]


Tags: , ,
20 March 2010 View Comments

mathURL: Online Equation Editing

mathURL: Online Equation Editing

Send complex math expressions over email and IM, without requiring any special software. It’s also great for previewing LaTeX on the fly and generating images for embedding in your webpages.

The red mathURL links to a page on this site with your equation. To embed an equation in some other webpage, you can either save the [...]


Tags: ,
20 March 2010 View Comments

IPE: Graphics Editor for LaTeX

IPE: Graphics Editor for LaTeX

Ipe extensible drawing editor is a free vector graphics editor for creating figures in PDF or EPS format. It can be used for making small figures for inclusion into LaTeX documents as well as making multi-page PDF presentations. It was developed by Otfried Cheong in 1993 and initially worked on SGI workstations only. Ipe 6 [...]


Tags: ,
14 March 2010 View Comments

Visualizing Finance Crisis Using Processing

Data-Based Video Manipulation. How fall of stocks changes expression.
Experiment in visualizing data the josef ackermann statement is pitched in relation to the share price value of deutsche bank. Build with processing, data is read from a share price chart image taken from the web.


12 March 2010 View Comments

Example of the Matlab Precision Issue

Example of the Matlab Precision Issue

I noticed that there are many people comparing Matlab with Maple, Mathematica etc. to find out what’s the best Maths package for them. But many of them didn’t realize the limitations of Matlab. I put up an article about the Birthday Problem in probability, If you try to solve it analytically like:
[cc lang='matlab' ]
1 – [...]


Tags:
11 March 2010 View Comments

Birthday Probability Problem

In a group of at least 23 randomly chosen people, there is more than 50% probability that some pair of them will have the same birthday. Such a result is counter-intuitive to many. In probability theory, thi is known as the birthday problem, or birthday paradox. Here is how we calculate [...]


Tags: ,
7 March 2010 View Comments

How to write a book with R and LaTeX

How to write a book with R and LaTeX

Think faster than “How to write a book in 28 days”. With the freely available R language you can create a book in less than 28 seconds. Unfortunately, you still have to write the text and do the programming. What you can do is integrate the R code and text into the same files, then [...]


Tags: ,
7 March 2010 View Comments

Howto Create Great Presentations using Beamer, Sweave and LaTeX

Howto Create Great Presentations using Beamer, Sweave and LaTeX

To achieve this goal, we need use the concept of literate programming, yet another one of Donald Knuth’s contributions to the world. LP “represents a move away from writing programs in the manner and order imposed by the computer, and instead enables programmers to develop programs in the order demanded by the logic and flow [...]


Tags: , , ,