pdf graphics in Prosper
"Peter Flom" <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Message-ID | <[email protected]> |
Hello
Using TeXlive on a Windows machine
When I run the following code, the log is fine, but nothing after
"pie charts should be avoided" shows up in the .pdf file.
Any help appreciated
START OF CODE
\documentclass[pdf]{prosper}
\usepackage{pstricks, hyperref}
\title{Graphs: The good, the bad, and the ugly}
\subtitle{Graphical techniques for data exploration and modelling\\
(and the R code to write them)}
\author{Peter L. Flom}
\institution{National Development and Research Institutes,
Inc.\\
www.peterflom.com}
\email {[email protected]}
\begin{document}
\maketitle
\overlays{5}{
\begin{slide}{Questions to ask}
\begin{itemstep}
\item What to graph?
\item Why do you want to graph it?
\item Who is going to see it?
\item How are they going to look at it?
\item When do you need it done?
\end{itemstep}
\end{slide}}
\overlays{9}{
\begin{slide}{Principles of good graphics (Tufte)}
\begin{itemstep}
\item Show the data
\item Induce the viewer to think about the substance
\item Avoid distorting what the data
\item Present many numbers in a small space
\item Make large data sets coherent
\item Encourage the eye to compare different pieces of data
\item Reveal the data at several levels of detail
\item Serve a reasonably clear purpose: description,
exploration, tabulation, or decoration
\item Be closely integrated with the statistical and verbal
description
of the data
\end{itemstep}
\end{slide}}
\overlays{4}{
\begin{slide}{Principles of good graphics (Cleveland)}
\begin{itemstep}
\item Clear vision
\item Clear understanding
\item Banking
\item Axes, scales and tick marks
\end{itemstep}
\end{slide}}
\overlays{6}{
\begin{slide}{Univariate categorical data}
\onlySlide*{1}{It is often better to use a table}
\onlySlide*{2}
{\begin{tabular}{lr}
Black/African-American & 83 \\
Latino/Hispanic & 411 \\
White & 18 \\
Asian/Pacific-Islander & 4 \\
Other & 12
\end{tabular}}
\onlySlide*{3}{ Pie charts should be avoided}
\onlySlide*{4} {\includegraphics[bb = 0 0 5in 8in]{pie.pdf}}
\onlySlide*{5}{Dot charts are often good}
\onlySlide*{6} {\includegraphics[bb = 0 0 5in 8in]{dotrelig.pdf}}
\end{slide}}
\end{document}
END OF CODE
thanks in advance
Peter
Peter L. Flom, PhD
Assistant Director, Statistics and Data Analysis Core
Center for Drug Use and HIV Research
National Development and Research Institutes
71 W. 23rd St
www.peterflom.com
New York, NY 10010
(212) 845-4485 (voice)
(917) 438-0894 (fax)
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click