Menu

#1317 Macros not expanding after \

closed-out-of-date
nobody
None
5
2015-03-23
2014-01-06
No

Hi.

The following code works:

plot @DIR1/CpOverT.dat" using 1:($2-2.5) title "4.0 GPa" with points pt 1 ps 2 lc rgb "#000000", @DIR2/CpOverT.dat" using 1:2 title "7.1 GPa" with points pt 5 ps 2 lc rgb "#000000", @DIR3/CpOverT.dat" using 1:2 title "8.7 GPa" with points pt 4 ps 2 lc rgb "#000000"

But this one does not:

plot @DIR1/CpOverT.dat" using 1:($2-2.5) title "4.0 GPa" with points pt 1 ps 2 lc rgb "#000000", \ @DIR2/CpOverT.dat" using 1:2 title "7.1 GPa" with points pt 5 ps 2 lc rgb "#000000", \ @DIR3/CpOverT.dat" using 1:2 title "8.7 GPa" with points pt 4 ps 2 lc rgb "#000000"

The error is:

line xx: invalid character @

My gnuplot version is:

G N U P L O T
Version 4.6 patchlevel 3    last modified 2013-04-12 
Build System: Darwin x86_64

Copyright (C) 1986-1993, 1998, 2004, 2007-2013
Thomas Williams, Colin Kelley and many others

gnuplot home:     http://www.gnuplot.info
faq, bugs, etc:   type "help FAQ"
immediate help:   type "help"  (plot window: hit 'h')

Thanks for your attention.

Discussion

  • Ethan Merritt

    Ethan Merritt - 2014-01-06

    Duplicate of old bug #1264

    Works correctly in current gnuplot release version 4.6.4

     
  • Ethan Merritt

    Ethan Merritt - 2014-01-06
    • status: open --> open-duplicate
     
  • Ethan Merritt

    Ethan Merritt - 2014-01-28
    • status: open-duplicate --> closed-out-of-date
     

Log in to post a comment.