I'm new to pstricks, and I've been struggling with several issues using it with beamer.
So my problem is that I'm trying to show a 3D plot in a beamer frame. However, for some reason, that I can't understand the figure, is cropped. I already play by changing the values of the width and height of the resize box. How can I show the entire plot?
Also, because I'm resizing the image I want to reduce the number of ticks that appear in the axes. However, I tried the Dx,Dy,Dz options of the 3D axes but that only changes the step between the ticks, but do not reduce their number. What I'm saying is that now I get a tick for every number: 1,2,3,...,100 And if I change the Dx=10 option I get the same number of ticks but with different step: 10,20,30,...,1000. However, what I'm looking for is to obtain, for example, just ten ticks: 10,20,30,...,100, instead of getting hundred. Is there I way of doing this?
\documentclass{beamer}
% For the figures
\usepackage[pdf]{pstricks}
\usepackage{auto-pst-pdf}
\usepackage{pst-node, pst-plot, pst-circ, pst-3dplot}
\usepackage{moredefs}
\begin{document}
\begin{frame}{3D}
\begin{center}
\resizebox{0.7\textheight}{0.7\textheight}{
\begin{pspicture}
\pstThreeDCoor[linecolor=black, IIIDticks,IIIDlabels,xMin=-20,xMax=20,yMin=-40, yMax=40,zMin=0,zMax=50]
\fileplotThreeD[linecolor=blue,plotstyle=line]{data.txt}
\end{pspicture}
}
\end{center}
\end{frame}
\end{document}
The data.txt is here


Dx=5,xMin=0,xMax=101 is 5 and 10 is 50, but the points are still plotted at their corresponding positions, that is, if you plot 11 it is plotted above 50, in the new axes. I think that the plotting is not checking the new axes. So we are just putting the data and then just trying to change the name of the labels. – adn Oct 31 '11 at 4:24