Closed yusami closed 7 years ago
Secure way is
set 'format x "%Y-%m-%d"'
Recent commit (https://github.com/ruby-numo/gnuplot/commit/9b8f0d796c0e17bbda47e321024dd93b3f90bff0) allows two patterns you suggested:
set format_x: "%Y-%m-%d"
set format: {x: "%Y-%m-%d"}
Thank you for the quick fix. It works fine for me.
Tanaka-san,
I have a question regarding the usage of set command. What is the proper way to use "set format"? I got the error in the code below with the debug mode enabled.
It seems to be OK with the code below.
I found the keyword "format_x" in the library. It is, however, not the valid command for gnuplot so I got another error like this.
I'd appreciate it if you have any advice.
Thanks.