Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Make sin wave with GD

by pme (Prior)
on Jul 01, 2015 at 17:05 UTC ( #1132858=note: print w/replies, xml ) Need Help??

in reply to Make sin wave with GD

sin() takes argument in the form of radian.

Replies are listed 'Best First'.
Re^2: Make sin wave with GD
by Anonymous Monk on Jul 01, 2015 at 17:12 UTC
    Ok. Thank you. I convert to radians but now wave is upsidedown and clipped.
      The 0,0 point is the upper left corner of your 400x400 GD plane if i am not mistaken.
        Yes. The wave start in upper left. But I want it to start in middle left. And go up. Not down. Any more help? Thank you again.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1132858]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2020-01-21 23:46 GMT
Find Nodes?
    Voting Booth?