• # Erreurs suivantes

    Posté par . En réponse au message [Débutant] Compilation gnuplot. Évalué à 1. Dernière modification le 23 mai 2015 à 14:14.

    Bonjour,

    Merci pour vos réponses.

    @Neox: 1) Visiblement lorsque mon tuteur compilait sous Windows, tout fonctionnait correctement.
    2) C'est justement là mon problème, je n'arrive pas à lancer le fichier .plt et visualiser la courbe cherchée.
    3)Je vais installer GhostScript et essayer de voir un peu comment me dépatouiller.

    @ kaos: C'est en effet le cas. D'un point de vue purement ethnocentré, je partait du principe que le monde universitaire fonctionnait tous sur Linux (comme c'est le cas en France en sciences). Sauf qu'en Espagne, ce n'est pas le cas (c'est même voire l'inverse.) Du coup mon tuteur n'a visiblement pas une bonne connaissance de Linux (je dirais: la même que la mienne, à savoir, très basse...).

    @audionuma: J'ai essayé d'encoder le fichier .plt en UTF-8, je crois que j'ai réussi. Désormais je rencontre les erreurs suivantes:

    Sachant que le fichier est le suivant:

    set term epslatex size 15cm, 15cm
    set output "ZVC.tex"
    set xrange[-2.0:2.0]
    set yrange[-2.0:2.0]
    plot "ZVC1.out" u 1:2 w l lc rgb "#000000" notitle, "ZVC2.out" u 1:2 w l lc rgb "#000000" notitle

    set output
    set terminal

    Originellement, mon tuteur avait écrit "set term", que gnuplot ne comprenait visiblement pas.

    Si j'effectue la commande suivante:

    $ plot 'ZVC.plt'
    #PLOT 1
    plot: an unrecognized command 0xd' was encountered in the input
    plot: the input file
    ZVC.plt' could not be parsed

    et l'autre:

    plot 'ZVC.plt'
    #PLOT 1
    plot: an unrecognized command 0xd' was encountered in the input
    plot: the input file
    ZVC.plt' could not be parsed
    oxliserose@ordinateur:~/ENSRennes/Practica BCN 2015/Code MhI/RungeKutta4/RTBP$ gnuplot 'ZVC.plt'
    "ZVC.plt", line 6: warning: Skipping data file with no valid points

    Available terminal types:
    cairolatex LaTeX picture environment using graphicx package and Cairo backend
    canvas HTML Canvas object
    cgm Computer Graphics Metafile
    context ConTeXt with MetaFun (for PDF documents)
    corel EPS format for CorelDRAW
    dumb ascii art for anything that prints text
    dxf dxf-file for AutoCad (default size 120x80)
    eepic EEPIC—extended LaTeX picture environment
    emf Enhanced Metafile format
    emtex LaTeX picture environment with emTeX specials
    epscairo eps terminal based on cairo
    epslatex LaTeX picture environment using graphicx package
    fig FIG graphics language for XFIG graphics editor
    gif GIF images using libgd and TrueType fonts
    gpic GPIC—Produce graphs in groff using the gpic preprocessor
    hp2623A HP2623A and maybe others
    hp2648 HP2648 and HP2647
    hpgl HP7475 and relatives [number of pens] [eject]
    imagen Imagen laser printer
    jpeg JPEG images using libgd and TrueType fonts
    latex LaTeX picture environment
    Press return for more:

    Merci pour votre aide, avec un peu de chance, ce n'est qu'un petit problème!