<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks, Herbert!  Yes, it works. But there is another case.<BR>Suppose the average value of variable  is large, but its variance is small, something like the data as follows:<BR> <BR>735355.385740741 18.1<br>735355.417511574 18.1<br>735355.472222222 18.1<br>735355.507916667 18.1<br>735355.550127315 18.1<br>735355.592465278 18.1<br>735355.663148148 18.1<br>735355.687500000 18.5<br>735355.726087963 19<br>735355.768576389 18.2<br>735355.802581019 17.6<br>735355.849108796 16.4<br>735355.888182870 16.1<br>735355.925266204 15.6<br>735355.959224537 15.3<br>735356.013287037 15<br>735356.057337963 16.2<br>735356.096666667 16.9<br>735356.155127315 17.2<br>735356.205567130 17.8<br>735356.248599537 17.2<br>735356.273680556 16.5<br>735356.303576389 16.2<br>735356.353807870 15.4<BR> <BR> <BR>Then, we can not use the "ylabelFactor" method to scale the data.  My code is as followings:<BR> <BR>\begin{filecontents*}{tu.total}<br>735355.385740741 18.1<br>735355.417511574 18.1<br>735355.472222222 18.1<br>735355.507916667 18.1<br>735355.550127315 18.1<br>735355.592465278 18.1<br>735355.663148148 18.1<br>735355.687500000 18.5<br>735355.726087963 19<br>735355.768576389 18.2<br>735355.802581019 17.6<br>735355.849108796 16.4<br>735355.888182870 16.1<br>735355.925266204 15.6<br>735355.959224537 15.3<br>735356.013287037 15<br>735356.057337963 16.2<br>735356.096666667 16.9<br>735356.155127315 17.2<br>735356.205567130 17.8<br>735356.248599537 17.2<br>735356.273680556 16.5<br>735356.303576389 16.2<br>735356.353807870 15.4<br>\end{filecontents*}<br>%<br>\documentclass[a4paper,12pt]{report}<br>\usepackage{pst-all}<BR>\begin{document}<br>\readdata{\mydata}{tu.total}<br>%\psset{xunit=2cm, yunit=2cm}<br>\pstScalePoints(1,1){735355 sub}{15 sub}<br>\psgraph[Ox=735355,Dx=1,Oy=15,Dy=1,labels=y]%<br>    {->}(0,0)(3,4){8cm}{8cm}<br>  \listplot[showpoints=true, linecolor=red, linewidth=1pt]{\mydata}<br>\endpsgraph<br>\end{document}<br><BR>This time, I get nothing, no data are actually plotted.  What's wrong?<BR>Thank you!<BR> <BR><div>> From: pstricks-request@tug.org<br>> Subject: PSTricks Digest, Vol 124, Issue 7<br>> To: pstricks@tug.org<br>> Date: Sat, 18 May 2013 08:41:38 +0200<br>> <br>> Send PSTricks mailing list submissions to<br>>         pstricks@tug.org<br>> <br>> To subscribe or unsubscribe via the World Wide Web, visit<br>>   http://tug.org/mailman/listinfo/pstricks<br>> or, via email, send a message with subject or body 'help' to<br>>       pstricks-request@tug.org<br>> <br>> You can reach the person managing the list at<br>>       pstricks-owner@tug.org<br>> <br>> When replying, please edit your Subject line so it is more specific<br>> than "Re: Contents of PSTricks digest..."<br>> <br>> <br>> Today's Topics:<br>> <br>>    1. Re: Errors: Dimension Too Large. (Herbert Voss)<br>>    2. Re: Errors: Dimension Too Large. (Herbert Voss)<br>> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Sat, 18 May 2013 08:31:31 +0200<br>> From: Herbert Voss <Herbert.Voss@FU-Berlin.DE><br>> To: <pstricks@tug.org><br>> Subject: Re: [pstricks] Errors: Dimension Too Large.<br>> Message-ID: <51972043.8050604@FU-Berlin.DE><br>> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed<br>> <br>> Am 18.05.2013 04:38, schrieb Yonggang Hu:<br>> > hello,  two problems:<br>> > 1) I always encounter an error message with "Dimension too large" if the<br>> > input data is relative large ,  even for the given example on the web<br>> > http://tug.org/PSTricks/pst-plot/listplot1.tex. My system is Miktex, and<br>> > I have updated for the latest one.  Where can I find a document<br>> > descripting this problem in detail?<br>> <br>> use it this way:<br>> <br>> \begin{filecontents*}{tu.total}<br>> 1 55808<br>> 2 31989<br>> 3 24884<br>> 4 22572<br>> 5 19718<br>> 6 17792<br>> 7 19529<br>> 8 17482<br>> 9 15658<br>> 10 18048<br>> 11 19132<br>> 12 19578<br>> 13 16152<br>> 14 16303<br>> 15 20265<br>> 16 24822<br>> 17 15240<br>> 18 19434<br>> 19 18585<br>> 20 19865<br>> 21 22418<br>> 22 23840<br>> 23 21704<br>> 24 39401<br>> \end{filecontents*}<br>> %<br>> \documentclass[a4paper,12pt]{report}<br>> \usepackage{pstricks,pstricks-add}<br>> <br>> \begin{document}<br>> \readdata{\mydata}{tu.total}<br>> \psset{llx=-1cm,lly=-0.75cm}<br>> \pstScalePoints(1,1){}{1e4 div}<br>> \psgraph[ylabelFactor=\cdot10^4,dx=5\psxunit,Dx=5]%<br>>      {->}(0,0)(25,6){0.375\textwidth}{0.375\textwidth}<br>>    \listplot[showpoints=true, linecolor=red, linewidth=1pt]{\mydata}<br>> \endpsgraph<br>> <br>> \end{document}<br>> <br>> <br>> > 2) I want to plot the data with following forms into a cureve:<br>> ><br>> > 2013/05/01 10:21:15   45<br>> > 2013/05/01 11:24:41   13<br>> > ... ...<br>> ><br>> > An example data file can be found in the attachments:  data.xls.  How?<br>> <br>> \documentclass{article}<br>> \usepackage{pst-plot}<br>> \makeatletter<br>> \newcounter{xVal}\setcounter{xVal}{0}<br>> \def\psSpecialPlot{\pst@object{psSpecialPlot}}<br>> \def\psSpecialPlot@i#1{\begin@SpecialObj\expandafter\psSpecialPlot@ii#1}<br>> \def\psSpecialPlot@ii #1{\psSpecialPlot@iii#1}<br>> \def\psSpecialPlot@iii#1 #2 #3 #4 #5 #6 {%<br>>    \stepcounter{xVal}<br>>    \psdot(\arabic{xVal},#6)%<br>>    \@ifnextchar D{\psSpecialPlot@iii}{\end@SpecialObj}%<br>> }<br>> \makeatother<br>> <br>> \begin{document}<br>> <br>> \readdata{\data}{listplot3.data}<br>> \data%% shows how the data is _internally_ represented.<br>> <br>> \bigskip<br>> \psset{llx=-1cm,lly=-1cm,mathLabel=false}<br>> \begin{psgraph}[Dx=5,Dy=5]{->}(0,0)(20,20){10cm}{8cm}<br>>    \psSpecialPlot[dotsize=5pt]{\data}<br>> \end{psgraph}<br>> <br>> \end{document}<br>> <br>> You can write the values for the x axis as #2 (the date) or #4 (time)<br>> <br>> Herbert<br>> <br>> <br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Sat, 18 May 2013 08:41:30 +0200<br>> From: Herbert Voss <Herbert.Voss@FU-Berlin.DE><br>> To: <pstricks@tug.org><br>> Subject: Re: [pstricks] Errors: Dimension Too Large.<br>> Message-ID: <5197229A.10809@FU-Berlin.DE><br>> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>> <br>> Am 18.05.2013 08:31, schrieb Herbert Voss:<br>> <br>> attached my output oy the example with your values:<br>> <br>> <br>> > You can write the values for the x axis as #2 (the date) or #4 (time)<br>> <br>> for example with \rput<br>> <br>> <br>> <br>> Herbert<br>> -------------- next part --------------<br>> A non-text attachment was scrubbed...<br>> Name: xxx.png<br>> Type: image/png<br>> Size: 29644 bytes<br>> Desc: not available<br>> URL: <http://tug.org/pipermail/pstricks/attachments/20130518/e7002380/attachment.png><br>> <br>> ------------------------------<br>> <br>> Subject: Digest Footer<br>> <br>> _______________________________________________<br>> PSTricks mailing list<br>> PSTricks@tug.org<br>> http://tug.org/mailman/listinfo/pstricks<br>> <br>> <br>> ------------------------------<br>> <br>> End of PSTricks Digest, Vol 124, Issue 7<br>> ****************************************<br></div>                                         </div></body>
</html>