I was using asymptote in order to do some plot I needed and in stand alone it all seem to work. The code is:

import graph; 


typedef real realfcn(real); 
realfcn F(int p) { 
return new real(real x) {return -1/x*log(exp(x)*cosh(x*p)+sqrt(exp(2*x)*cosh(x*p)^2-2*sinh(2*x)));}; 

for(int i=0; i < 6; ++i)
draw(graph(F(i),0.001,10),Pen(i),"$h={"+((string) i)+"}$");




and the correct output is correct: 1

However when passing to pdfLaTeX the output no longer shows the coordinate axes: 1

How can I solve this problem? Thank you

There was only a problem in the Evince PDF viewer, with other PDF viewer like Okular or Acrobat it works fine. Still I don't know how to get it right in the PDF viewer without changing it.

closed as off-topic by egreg, Werner, Martin Schröder, ChrisS, Przemysław Scherwentke Dec 24 '13 at 21:08

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    I don't understand. Apart from fonts, both outputs look similar...? – Werner Dec 24 '13 at 18:11
  • yes, I checked only with Evince and now with another pdfreader works fine... I think is just a problem in visualization... – Klemvor Dec 24 '13 at 18:13
  • If it's only a viewer problem, what you can do is preparing a minimal example and do a bug report to the developers. I don't think there's much that can be done on the TeX side. – egreg Dec 24 '13 at 20:18
  • 4
    This question appears to be off-topic because it is about a PDF viewer problem – egreg Dec 24 '13 at 20:18
  • I am trying to understand if there is something to on the TeX side, but maybe you are right and this is a pure problem of the viewer, in this case we may delete this question – Klemvor Dec 24 '13 at 20:46