Khorosh Irani wrote:
> Hi
> I worked alittle with gd
> It is my code for y(x)=sin(x)+cos(x):
>
>function Graph($rangeLow, $rangeHigh, $step)
>{
>$img = ImageCreate($this->width, $this->height);
>$background_color = imagecolorallocate($img, 0, 0, 0);
>$white = ImageC
Hi
I worked alittle with gd
It is my code for y(x)=sin(x)+cos(x):
function Graph($rangeLow, $rangeHigh, $step)
{
$img = ImageCreate($this->width, $this->height);
$background_color = imagecolorallocate($img, 0, 0, 0);
$white = ImageColorAllocate($img, 255, 255, 255);
On Tue, June 5, 2007 4:36 pm, Khorosh Irani wrote:
> Hello
> I have a function like (y(x)=sin(x)) that i convert it to post fix and
> then
> execute it.means that i coud get y for each x value
> now I have a simple question
> I want to draw diagram of function.
> how I should do this
> I dont work
[snip]
I want to draw diagram of function.
how I should do this
I dont work with gd ...
[/snip]
You will have to work with GD unless you want to do a text plot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I have a function like (y(x)=sin(x)) that i convert it to post fix and then
execute it.means that i coud get y for each x value
now I have a simple question
I want to draw diagram of function.
how I should do this
I dont work with gd and also i donot now how I should done this.but i think
th
5 matches
Mail list logo