Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
944 connectés 

  FORUM HardWare.fr
  Programmation
  Perl

  [PERL] Probleme avec module Chart::Gnuplot

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[PERL] Probleme avec module Chart::Gnuplot

n°2208259
gohu97
Posté le 26-10-2013 à 17:47:56  profilanswer
 

Bonjour a tous,
 
Cela fait un peu plus de deux heures que je me casse la tete avec le module Chart::Gnuplot:
En suivant des tutos sur internet tout marche, jusqu'a je test les scripts moi meme...
À l'aide de print, j'ai pu localiser le probleme: il vient enfait de la derniere ligne de mon script:

Code :
  1. $chart->plot2d($data2)


Le probleme vient de la fonction plot2d car quand je lance le programme j'obtiens

Code :
  1. sh: convert: command not found


et aucune image png du graphique n'est crée dans le répertoire de travail! :fou:  
 
Si quelqu'un pouvait me débloquer...
Merci d'avance

mood
Publicité
Posté le 26-10-2013 à 17:47:56  profilanswer
 

n°2210486
gilou
Modérateur
Modzilla
Posté le 17-11-2013 à 00:40:18  profilanswer
 

Désolé pour le délai, j'avais loupé cette question de la section Perl/

Citation :

When the plotting method (e.g. plot2d) is called, Chart::Gnuplot would generate a Gnuplot script based on the information in the chart object and dataset object. Then it would call the Gnuplot program. Unless specified explicitly in terminal of the Chart object, Chart::Gnuplot would by default generate the image in PS format first and then convert the image (by ImageMagick) based on the extension of the filename. The rationale of this approach is that the postscript terminal is so far the best developed teriminal and so this would let users to enjoy the power of Gnuplot as much as possible.
 
Because the default terminal is postscript, if ImageMagick is not installed, you would always need to specify the terminal if the output format is not PS (or EPS).

Est ce que ImageMagick est installé sur ton système?
 
A+,


---------------
There's more than what can be linked! --    Iyashikei Anime Forever!    --  AngularJS c'est un framework d'engulé!  --

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Perl

  [PERL] Probleme avec module Chart::Gnuplot

 

Sujets relatifs
Structure Polynome( probleme d'affichage) en Cperl + TK
Problème Syntaxe PythonProblème d'encodage sur Gnu/Linux
Problème avec un tutoriel pythonprobleme sql server
[Perl] CGI qui parse le STDIN n'importe commentproblème affichage sur afficheur lcd
Problème Scrit qui liste les fichiersProblème zoom sur focus champ IOS7 solutions ou pas ?
Plus de sujets relatifs à : [PERL] Probleme avec module Chart::Gnuplot


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR