joezalways Posted June 18, 2008 Share Posted June 18, 2008 How do I display a curve in a grid and extract data from it for a PHP based web application? I need to extract data such as the number of boxes in the grid that contains part of the curve. Is JPGraph appropriate? If not, what should i use?? Please help!! Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/ Share on other sites More sharing options...
DarkWater Posted June 18, 2008 Share Posted June 18, 2008 Wait wait, WHAT? That made little sense to me. Please try saying it in a normal manner. =/ Also, it's never "URGENT!!" when you're waiting for someone to reply back on a forum. If it was urgent you would have figured it out yourself. Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/#findComment-568264 Share on other sites More sharing options...
rarebit Posted June 18, 2008 Share Posted June 18, 2008 what expression (equation, I forget) are you using to describe it? Do you really need to draw it to get this info? Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/#findComment-568269 Share on other sites More sharing options...
DarkWater Posted June 18, 2008 Share Posted June 18, 2008 what expression (equation, I forget) are you using to describe it? Do you really need to draw it to get this info? Yeah, are you trying to like, graph a parabola or something? I doubt PHP will be able to do that nicely. Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/#findComment-568272 Share on other sites More sharing options...
joezalways Posted June 18, 2008 Author Share Posted June 18, 2008 OK! Here it is! Based on the Box-Counting Algorithm, I need to plot a curve or line on a grid. Then i have to count the number of boxes that contain parts of the curve or line. What should i use for this? I not only need to display the grid but i also have to extract data from it, i.e. count the number of boxes containing parts of the curve. Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/#findComment-568279 Share on other sites More sharing options...
rarebit Posted June 18, 2008 Share Posted June 18, 2008 if you make an image, draw the grid and curve using these, i'll help you write an image processing routine... still think it'd be easier with the image... 'cos that's a question of resolution... Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/#findComment-568288 Share on other sites More sharing options...
Barand Posted June 18, 2008 Share Posted June 18, 2008 Yeah, are you trying to like, graph a parabola or something? I doubt PHP will be able to do that nicely. It can do a reasonable job http://www.whproductions.com/barand/barand_calc.php?mode=1&keynav=1&eq1=x%5E2&eq2=2-x%5E2&action=Graph Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/#findComment-568453 Share on other sites More sharing options...
DarkWater Posted June 18, 2008 Share Posted June 18, 2008 Yeah, are you trying to like, graph a parabola or something? I doubt PHP will be able to do that nicely. It can do a reasonable job http://www.whproductions.com/barand/barand_calc.php?mode=1&keynav=1&eq1=x%5E2&eq2=2-x%5E2&action=Graph Wow, nice. Link to comment https://forums.phpfreaks.com/topic/110769-need-help-with-grids-urgent/#findComment-568457 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.