Archive for December, 2011

December 9, 2011

Comparing Dashboard Software: Part 1 (Filled Map)


Filled map is not supported by default in the current version of Tableau (6.1, see this post in the Tableau).
However, it can be implemented through the Polygon Mark (see for example here). The background map comes directly from Tableau and for Australian data, Tableau does not good job converting postcode into longitude and latitude (an example is here). What lack are the boundary polygons for each postcode area.


Map visualization in QlikView is achieved through Google Maps (see here). A filled map is shown here, but I can’t figure out how it is done.


Filled map in Spotfire is probably the most easy one. In Spotfire, you could import a shapefile directly as a data table. Then you need to link the area id in the shapefile with the area id in your feature data table. Here is a screenshot.

December 8, 2011

Rotated EPS from R in LaTeX

When it comes to figures in LaTeX, I usually generate figures in pdf format and use pdflatex to compile LaTeX with the pdf figures included. But sometimes a conference or a journal only accept figures in eps format, so I have to use EPS and the vanilla “latex” command.One problem is that I always have the EPS generated in R rotated in the resulting dvi file and I always have to use the \roatebox to correct the orientation.

Today, I reread the help file for the postscript() function in R and found the following solution:

     The postscript produced for a single R plot is EPS (_Encapsulated   PostScript_) compatible, and can be included into other documents,    e.g., into LaTeX, using ‘\includegraphics{<filename>}’.  For use in this way you will probably want to use ‘setEPS()’ to set the defaults as ‘horizontal = FALSE, onefile = FALSE, paper = “special”‘.