From: al.dupuis <al....@la...> - 2011-04-26 17:38:31
|
Bonjour/Hello, voici mon problème/Here's my problem : définition d'une fonction avec 2 paramètres a et b / define a function with parameters a and b : E(x) tracé de 2 ensembles de données / plot 2 sets of datas from files : plot 'mydata.1' u 1:2 t 'ONE' w pt 1 lc 1, 'mydata.2' u 1:3 t 'TWO' w pt 2 lc 2 fit E(x) 'mydata.1' u 1:2 via a,b replot E(x) fit E(x) 'mydata.2' u 1:3 via a,b replot E(x) .../... Le premier "replot" trace bien la courbe voulue/the firts "replot" show the right curve MAIS/BUT lors du second "replot", la première courbe E(x) disparaît et la seconde est tracée correctement with the second "replot", the first curve E(x) wanishes and the second one is plotted correctely. Si l'on refait "fit E(x) 'mydata.1'...", la première courbe revient, mais la précédente disparaît If we redo fit E(x) 'mydata.1'...", the first curve comes back but the previuous one wanishes. Ce qui est étrange, c'est que chaque "replot E(x)" donnent lieu à une entrée nouvelle dans la légende What is strange, is that every "replot E(x)" give a new entry in the key Ceci est en lien avec le fait que le "sh plot" montre toutes les occurences des "replot" E(x) This is connected to the fact that a "sh plot" shows all the occurences of the replotted E(x) Mais alors, pourquoi seule la toute dernière courbe E(x) est-elle tracée ? But why only the very last curve E(x) is plotted ? Merci pour votre réponse / Thanks for your answer Cordialement / Kind Regards A. Dupuis Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net |