help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP, Octave & Gnuplot


From: Laurent Mazet
Subject: Re: PHP, Octave & Gnuplot
Date: Fri, 4 Jun 2004 17:15:17 +0200

On Fri, 04 Jun 2004 16:33:42 +0300
OOzy <address@hidden> wrote:
> 
> Anybody has an idea on how to interface PHP and Octave. I am trying to add
> the feature of drawing Bode Plot on my site. The user will be shown a form
> to enter the transfer function parameters and then my PHP code will
> interface with Octave to get the plot as *.jpg, *.png, etc.

1 Create a temporary .m file
2 Execute it to
 - create postscript plot with the print commande from octave-forge
3 Convert postscript to png using a script like the one attached

            Laurent

PS: to exchange data from/to PHP, you can use xmlread and xmlwrite functions
-- 
Dr. Laurent Mazet: Research Engineer /V\ Centre de Recherche de MOTOROLA
Tel: +33 (0)1 69 35 48 30 =-=-=-=-=-=-=-=-=-=-= Email: address@hidden

Attachment: ps2png
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]