From: Dr. I. R. <ri...@or...> - 2004-09-15 12:39:57
|
is it possible to format numerical outputs created by the print command inside gnuplot (like the printf command inside c)? ---------------------------------- example: # two gnuplot commands a=1./1.1 print a # produce the output on the screen 0.909090909090909 how can i get the output 0.91 ? ---------------------------------- thanks! ingo riehl -------------------------------------------------------------------------------- Dr.-Ing. Ingo Riehl TU Bergakademie Freiberg Fakultaet Maschinenbau, Verfahrens- und Energietechnik Institut fuer Waermetechnik und Thermodynamik Lehrstuhl Technische Thermodynamik Gustav-Zeuner-Strasse 7, Raum 304 D-09596 Freiberg Tel.: +49--(0)3731--39-2193 Fax.: +49--(0)3731--39-3655 Email: ing...@iw... --------------------------------------------------------------------------------- |