Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to use tikz/pgf to plot some graphs in a poster done with a0poster. That is the code:

\begin{tikzpicture}
  \begin{axis}[xlabel=lambda, ylabel=int]
    \addplot[blue] table [mark=none, col sep=comma, trim cells=true]{data.txt};
  \end{axis}
\end{tikzpicture}

Here's what it should look like, compiled in DIN-A4 (standard paper size):

tikz-plot

This is what happens with a0poster (never mind about the background):

tikz_in_a0poster

Apart from the screwed up labeling and positioning (which might be fixed), there are curves in all the wrong places. The frame has 3 curvy corners and the single data points are connected by way too big arcs. That's what makes the hairs, here is it in detail:

tikz_in_a0poster_detail

Well, do you have an idea of how to make pgfplot work correctly with a0poster?

(Or, if not, which poster packages are compatible with pgfplot? It would hurt to port the finished poster layout to another package, but if there's no other solution, then that's the pill to swallow.)

share|improve this question
1  
Welcome to TeX.sx! Your image links seem to be broken. As new user without image posting privileges simply include the image as normal and remove the ! in front of it to turn it into a link. A moderator or another user with edit privileges can then reinsert the ! to turn it into an image again. You apparently deleted the URL lines at the end, which makes the link entries useless. –  Martin Scharrer Oct 15 '11 at 18:46
    
@MartinScharrer Nice workaround, I was not aware of that. Thank you. –  Boffin Oct 15 '11 at 18:51
    
Could this be a driver issue? Usually, PGF will auto-detect the latex/dvips combination which appears to be required for a0poster. But perhaps somehow the auto-detection failed. Have you tried any other tikz pictures? The correct driver seems to be def\pgfsysdriver{pgfsys-dvips.def} before loading tikz –  Christian Feuersänger Oct 15 '11 at 19:44
    
Note that the fallback solution could also be: generate EPS images of your pgfplots images (preferrably in the correct sizes such that no rescaling is required) - then import these graphics into your poster. Switching to another poster layout should be unnecessary. –  Christian Feuersänger Oct 15 '11 at 19:54
    
And one further hint: this question is unrelated to tex.stackexchange.com/questions/5400/… . –  Christian Feuersänger Oct 15 '11 at 19:56
show 2 more comments

1 Answer 1

I have used the beamerposter package for my poster some time ago. You can define your own style and it looks really nice on glossy paper. I did a little bit of pgfplot testing and it seems to work pretty OK. One thing you have to modify or create is your own theme style file. You can get the standard ones from here and modify it accordingly.

share|improve this answer
    
@Boffin Much to my stupidity, beamerposter uses beamer which has a native support to TikZ/PGF and hence to pgfplots. –  percusse Oct 17 '11 at 22:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.