Changing the name of the gnuplot chart window

I am writing a program that runs on Windows that uses Gnuplot to generate dynamic graphs. I need several charts running simultaneously, so I have several threads working with different instances of Gnuplot. My problem is that they all have the same title for their chart windows, in particular, they all say Gnuplot (window id: 0). Is there a way to change this value in Gnuplot?

+4
source share
1 answer

Well, this is inconvenient, but I found a solution 5 minutes after posting this. I could also decide my decision if it helps someone else.

I just had to use the command:

set term wxt title 'my title' 

where my title is any title you want to use.

+5
source

Source: https://habr.com/ru/post/1500787/


All Articles