[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
ps2png
Description: Binary data
- PHP, Octave & Gnuplot, OOzy, 2004/06/04
- Re: PHP, Octave & Gnuplot,
Laurent Mazet <=
- Re: PHP, Octave & Gnuplot, etb, 2004/06/04
- saving a plot, Jose Colmenares, 2004/06/04
- Re: saving a plot, Jan Trmal, 2004/06/04
- Re: saving a plot, Jonathan Stickel, 2004/06/04
- Re: saving a plot, Mariano Wis, 2004/06/05
- Re: saving a plot, Jonathan C. Webster, 2004/06/05
- Re: saving a plot, Mariano Wis, 2004/06/06
Re: PHP, Octave & Gnuplot, Andy Adler, 2004/06/04