Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

One image is worth one thousand words, so:

enter image description here

Question: At what options should I be looking, so that what I see in my notebook is what I get in my printed pdf ?

Here is the code I'm using:

deq = x''[t] == x[t] - x[t]^3 + x[t]^2 + a Cos[t];

genPoincareMapPoints[deq_] :=
  Module[{},
    Reap[
     NDSolve[{deq,
       WhenEvent[
        Mod[t, 2 \[Pi]] == 0,
        Sow[{x[t], x'[t]}]]
       }, {}, {t, 0, 5 10^4},
      AccuracyGoal -> 10, PrecisionGoal -> 10, 
      MaxSteps -> ∞]]][[-1, 1]];

Style[
 Grid@{
   Parallelize[
    ListPlot[
       genPoincareMapPoints[
        {deq /. a -> #, x[0] == 0, x'[0] == 0.0}],
       AxesLabel -> {"x[t]", "x'[t]"},
       PlotRange -> All, 
       PlotLabel -> "Poincare Map for a=" <> ToString@#,
       PlotStyle -> AbsolutePointSize[0.5]] &
     /@ {0.03, 0.3, 3}]
   }, ImageSizeMultipliers -> 1]

EDIT: Mac OSX 10.9, Mathematica 9.0.1. I am printing with 'File -> Print... -> PDF -> Save as PDF...'. I'm viewing the PDF with 'Preview' app of Mac OSX.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

This seems to be a problem with the "Preview" application from Mac OSX. Viewing both at 100%, Preview renders the points very large while Acrobat does not. I blame Preview. I'm not sure how to fix it for Preview only.

"Preview" vs "Acrobat"


This should be a comment but I can't post those yet.

printedpdf

Using the built in "Save as PDF" dialog from the print menu works fine for me. Having code and knowing your OS X version, whether you're printing to an Adobe PDF module or using the system dialog, and what you're viewing it in would help to narrow down the issues.

share|improve this answer
    
Thanks @jtth. I will provide code in the next couple of hours. –  Zet Jan 12 at 20:08
    
What PDF viewer are you using? Or is it the same in, say, Preview and Acrobat? –  jtth Jan 12 at 21:21
    
'Preview' app from Mac OSX. –  Zet Jan 12 at 21:48
    
Thanks for posting screenshot from Acrobat @jtth! I will leave the question open for a couple of days -top- and then I will accept your answer. Welcome to Mathematica.SE! –  Zet Jan 12 at 22:24
    
Thank you. I've had a couple of problems with Preview not rendering particularly complicated bitmaps or pieces of heavily-typset LaTeX, so I always check my work in Acrobat or Reader. Most people on Windows will be using Acrobat or Reader anyhow, not OS X's built-in PDF viewing tech. –  jtth Jan 12 at 22:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.