<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=FR-CA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>auto-pst-pdf does not work because of psgraph. As a workaround
you can use the following preamble but I think there are problems.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\documentclass{article}<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\usepackage{auto-pst-pdf}<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\usepackage{pstricks-add}<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\usepackage{ifpdf}<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\ifpdf<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>  \let\psgraph=\postscript<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>  \let\endpsgraph=\endpostscript<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\else<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>  \PreviewEnvironment{psgraph}<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\fi<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>\begin{document}<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&#8230;.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De&nbsp;:</span></b><span
lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> pstricks-bounces@tug.org
[mailto:pstricks-bounces@tug.org] <b>De la part de</b> Mikel Catania<br>
<b>Envoyé&nbsp;:</b> 7 avril 2009 17:07<br>
<b>À&nbsp;:</b> Graphics with PSTricks<br>
<b>Objet&nbsp;:</b> Re: [pstricks] Axes and huge numbers<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Thanks a lot Martin, looks
great. However, for some reason the auto-pst-pdf package does not work, which
is really annoying me. Anyway, it's good to know that solution, thanks! :)<br>
<br>
Mikel <o:p></o:p></p>

<div>

<p class=MsoNormal>On Tue, Apr 7, 2009 at 9:19 PM, Martin Chicoine &lt;<a
href="mailto:martin.chicoine@umontreal.ca">martin.chicoine@umontreal.ca</a>&gt;
wrote:<o:p></o:p></p>

<p class=MsoNormal>De&nbsp;: <a href="mailto:pstricks-bounces@tug.org">pstricks-bounces@tug.org</a>
[mailto:<a href="mailto:pstricks-bounces@tug.org">pstricks-bounces@tug.org</a>]
De la part<br>
de Mikel Catania<br>
Envoyé&nbsp;: 7 avril 2009 14:43<br>
À&nbsp;: Graphics with PSTricks<br>
Objet&nbsp;: [pstricks] Axes and huge numbers<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
&gt; Hi all,<br>
&gt;<br>
&gt; I'm plotting a function with x-values ranging from 0 to 1500000, and<br>
y-values from 0 to 160000.<br>
&gt; The plot has to be around 12cm wide, so I set xunit=.00008mm. The plot<br>
works fine, but only if<br>
&gt; I set &quot;labels=none&quot; in the \psaxes options. The following
example shows<br>
that clearly:<br>
&gt;<br>
&gt; \documentclass{article}<br>
&gt;<br>
&gt; \usepackage{pstricks}<br>
&gt; \usepackage{pst-plot}<br>
&gt;<br>
&gt; \begin{document}<br>
&gt;<br>
&gt; \psset{unit=.00008mm,xunit=.00008mm,yunit=.0004mm}<br>
&gt;<br>
&gt; \begin{pspicture}(0,0)(1500000,160000)<br>
&gt; % Axes<br>
&gt; \psaxes[Dx=250000,Dy=50000,labels=none]{-&gt;}(0,0)(1500000,160000)<br>
&gt; % Functions<br>
&gt; \psplot[showpoints=true,plotpoints=15]{0}{1500000}{0.08615 x mul 18000<br>
add}<br>
&gt;<br>
\psplot[showpoints=true,dotstyle=square*,plotpoints=15]{0}{1500000}{0.05468<br>
x mul 42000 add}<br>
&gt; % Captions<br>
&gt;<br>
\rput[l](1000000,70000){\psline(0,2000)(100000,2000)\psdot(50000,2000)\qquad<br>
\quad graph one}<br>
&gt;<br>
\rput[l](1000000,50000){\psline(0,2000)(100000,2000)\psdot[dotstyle=square*]<br>
(50000,2000)\qquad\quad graph two}<br>
&gt; \end{pspicture}<br>
&gt;<br>
&gt; \end{document}<br>
&gt;<br>
&gt; Anytime I change the options of \psaxes to &quot;labels=all&quot;, I get
an error<br>
&quot;Dimension too large&quot;. I could \rput all values, but it is tedious
and I'd<br>
like to know how to make this work.<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; Mikel<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>With pstricks-add you can divide everything by 1000 and use
xlabelFactor and<br>
ylabelFactor. The only problem is that you have to use showorigin=false,<br>
otherwise you get &quot;0000&quot; at the origin. Maybe Herbert has a fix for
that?<br>
<br>
\documentclass{article}<br>
<br>
\usepackage{pstricks-add}<br>
<br>
\begin{document}<br>
<br>
\begin{psgraph}[arrows=-&gt;,Dx=250,Dy=50,xlabelFactor={000},ylabelFactor={000}<br>
,<br>
&nbsp;showorigin=false](0,0)(1500,160){11.2cm}{6.4cm}<br>
% Functions<br>
\psplot[showpoints=true,plotpoints=15]{0}{1500}{0.08615 x mul 18 add}<br>
\psplot[showpoints=true,dotstyle=square*,plotpoints=15]{0}{1500}{0.05468 x<br>
mul 42 add}<br>
% Captions<br>
\rput[l](1000,70){\psline(0,2)(100,2)\psdot(50,2)\qquad\quad graph one}<br>
\rput[l](1000,50){\psline(0,2)(100,2)\psdot[dotstyle=square*](50,2)\qquad\qu<br>
ad graph two}<br>
\end{psgraph}<br>
<br>
\vspace{1cm}<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>\psset{unit=.00008mm,xunit=.00008mm,yunit=.0004mm}<br>
<br>
\begin{pspicture}(0,0)(1500000,160000)<br>
% Axes<br>
\psaxes[Dx=250000,Dy=50000,labels=none]{-&gt;}(0,0)(1500000,160000)<br>
% Functions<br>
\psplot[showpoints=true,plotpoints=15]{0}{1500000}{0.08615 x mul 18000 add}<br>
\psplot[showpoints=true,dotstyle=square*,plotpoints=15]{0}{1500000}{0.05468<br>
x mul 42000 add}<br>
% Captions<br>
\rput[l](1000000,70000){\psline(0,2000)(100000,2000)\psdot(50000,2000)\qquad<br>
\quad graph one}<br>
\rput[l](1000000,50000){\psline(0,2000)(100000,2000)\psdot[dotstyle=square*]<br>
(50000,2000)\qquad\quad graph two}<br>
\end{pspicture}<br>
<br>
<br>
\end{document}<o:p></o:p></p>

</div>

<p class=MsoNormal>_______________________________________________<br>
PSTricks mailing list<br>
<a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</div>

</body>

</html>