[powerdot] Problem with PStricks' dataplot in powerdot

  • From: carlos.web@xxxxxxx
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Fri, 10 Apr 2015 17:11:43 +0200

I am having trouble putting psfigures with dataplots in my powerdot slides. 
Those compile fine in the paper. The figures without the dataplot compile fine 
in the slides. But when the dataplot command is added, ps2pdf gives an error 
and the corresponding slide is blank. Does anybody know what is going on? Help 
would be very much appreciated.

Here is a minimal example:

\documentclass[mode=present,paper=a4paper]{powerdot}
\usepackage{amssymb,amsthm,amsmath}
\usepackage{pstricks,pst-plot}
\usepackage{graphicx}

\begin{document}

\begin{slide}{Graph}

\psset{xunit=0.5cm,yunit=0.5cm}
\begin{pspicture}(0,0)(10,10)
\psset{linewidth=1pt}

\savedata{\Tcorrdata}[{{0,1},{1,3},{9,7}}]
\dataplot[linewidth=2pt,plotstyle=curve,showpoints=false]{\Tcorrdata}

\end{pspicture}

\end{slide}
\end{document}

If you replace the dataplot command with, say, \psline(0,0dat)(10,10), 
everything is fine.
If you replace the class with article and delete the slide commands, everything 
is fine.
listplot gives a similar error.

LaTeX and DvitoPS work. Thenm PStoPDF yields this output:

Error: /undefined in , 

Operand stack: 

--nostringval-- --nostringval-- 

Execution stack: 

%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 
%stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 
%stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop 1893 1 3 %oparray_pop 
1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- 
--nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 

Dictionary stack: 

--dict:1164/1684(ro)(G)-- --dict:0/20(G)-- --dict:111/200(L)-- 
--dict:183/300(L)-- --dict:57/200(L)-- --dict:117/200(L)-- 

Current allocation mode is local 

Current file position is 158228 

GPL Ghostscript 9.05: Unrecoverable error, exit code 1 

GPL Ghostscript 9.05: ERROR: A pdfmark destination page 2 points beyond the 
last page 1. 

--
Prof. Dr. Carlos Alos-Ferrer
Department of Economics
University of Cologne

-------------------------------------------------------------------------------------------------
FreeMail powered by mail.de - MEHR SICHERHEIT, SERIOSITÄT UND KOMFORT

Other related posts: