Graph problems in 3.12

Dominique Crétel <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
Hi John,

Yes it's an old message, but I want to reply.
Here is a small correction of your source.
It was just a scaling problem.

@SysInclude { graph }
@SysInclude { doc }
@Doc @Text @Begin
@Graph
  style {axes}
  xmin {-0.05}
  xmax {0.05}
  ymin {0.008}
  ymax {0.02}
  width {6cm}
  height {4cm}
{
  @Data pairs { solid } {
    xloop from { -0.05 } to { 0.05 } by { 0.0001 } do {
      if cond {abs{x} >= 0.001} then {x {x * sin {1/x}}} else {}
    }
  }
}
@End @Text

-Dominique
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.