From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA11933 for caml-redistribution; Mon, 18 May 1998 15:36:11 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA32185 for ; Mon, 18 May 1998 10:03:15 +0200 (MET DST) Received: from lri.lri.fr (root@lri.lri.fr [129.175.15.1]) by nez-perce.inria.fr (8.8.7/8.8.5) with ESMTP id KAA25103 for ; Mon, 18 May 1998 10:03:14 +0200 (MET DST) Received: from pc84.lri.fr (loisel@pc84.lri.fr [129.175.8.104]) by lri.lri.fr (8.8.5/jtpda-5.2) with ESMTP id KAA09871 ; Mon, 18 May 1998 10:03:13 +0200 (MET DST) Received: by pc84.lri.fr (8.8.5/feuille) id KAA13643 ; Mon, 18 May 1998 10:03:11 +0200 Date: Mon, 18 May 1998 10:03:11 +0200 Message-Id: <199805180803.KAA13643@pc84.lri.fr> From: Patrick Loiseleur MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: Vincent Poirriez Cc: caml-list@inria.fr Subject: Re: plots of functions In-Reply-To: <355C6C39.AF2CEA47@univ-valenciennes.fr> References: <355C6C39.AF2CEA47@univ-valenciennes.fr> X-Mailer: VM 6.34 under Emacs 19.34.1 Sender: weis In his message of Fri May 15, 1998, Vincent Poirriez writes: > Bonjour, > > quelqu'un aurait-il developpe un outil pour tracer des fonctions, > l'outil peut etre minimal, j'ai besoin de tracer au moins > des fonctions de type float -> float, mais qui peut le plus peut le > moins. > Merci d'avance > > Vincent Poirriez > Je pense que GNUplot est la réponse. En quelques lignes de Caml on pourrait construire une entrée au format GNUplot à partir d'une fonction float->float pour construire des graphes 2D et 3D avec tous les choix imaginables en matière d'échelle, d'axes, de couleur, etc. De plus, GNUplot est gratuit et existe pour beaucoup d'architectures. [English version] You should try to interface Caml with GNUplot. That program has all features needed to draw 2D and 3D graphs, and to drive it from an O'caml should not be too difficult. Another argument is that GNUplot is free and available for many systems. -- Patrick.Loiseleur@lri.fr