Activity for Daniel Dan K.

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #2662

    The set term qt command is inside the script. The script consists of the lines I quoted above.

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #2662

    Dear Ethan, I figured that this issue is triggered by using the terminal "qt". So this is the minimal code required to observe this behaviour: set term qt plot [-1:1] sin(x)/x I do not observe this behaviour when using term wxt.

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #290

    Thanks, Ethan, pressing ctrl-C on the console does the trick.

  • Daniel Dan K. Daniel Dan K. created ticket #290

    Detect batch mode (or console mode) in script

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #287

    This support ticket can be closed. I don't know how to do this.

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #287

    If anybody is interested: this is my way to extract the script name from ARG0: start=1; while(1) { pos=strstrt(ARG0[start:], '\') ; if(pos==0) {break;}; start=start+pos; }; scriptname=ARG0[start:] print "script name='".scriptname."'" works on Windows.

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #287

    Thanks a lot. That's helpful.

  • Daniel Dan K. Daniel Dan K. created ticket #287

    make script file name available to script code

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #565

    Filed same issue as a bug #2662. Please close this feature request.

  • Daniel Dan K. Daniel Dan K. created ticket #2662

    gnuplot keeps script file open after loading it

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #565

    Mh, strange, this ended up as a feature request although I'd rather consider it a bug :-)

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #565

    Screenshot of said message window. (I don't know how to insert an image inline, uploaded as an attachment instead)

  • Daniel Dan K. Daniel Dan K. created ticket #565

    gnuplot keeps script file open after loading it

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    SF support team solved this issue. 👍

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #24507

    Yes the postings are back again. Thanks for solving this issue.

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Hello, I've been using gnuplot on Windows for many years. Everything was fine until I installed gnuplot 5.4.6 on a new Windows 10 PC. There, I don't get sans-serif font in terminal "wxt". See attached image. I wonder why this is. I tried to set the font manually using set term wxt font "Sans" but this only triggered a message while plotting: "warning: problem determining pango font metrics." and results in a plot that is unusuable because large black chunks are covering the graph. I also tried "Arial"...

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Dear Matsuoka-san, I found out why the terminal "wxt" can use "sans" fonts on one computer and fails to use them on another: If I set the display scaling to 250% (or higher), the above mentioned behaviour occurs. If I reduce the scaling below 250%, everything works as expected: "sans" font is used automatically, gnuplot issues no warnings. If you consider this a bug, I'll happily file a ticket. Best regards, Daniel

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Dear Matsuoka-san, I tried the commands. These are my observations: Up to (and including) a display scaling of 225%, I see a "sans" font in the plot window. With 250% display scaling, a "serif" font is used in the plot window. With 300% display scaling (which is the "recommended" value on my display), the plot is covered by huge letters and a warning message appears on the console. Please see the attached files for screenshots. Thanks. Daniel

  • Daniel Dan K. Daniel Dan K. modified a comment on discussion Help

    Dear MATSUOKA-san, I'll happily file a new bug on this topic. See here: https://sourceforge.net/p/gnuplot/bugs/2611/

  • Daniel Dan K. Daniel Dan K. modified a wiki page

    Home

  • Daniel Dan K. Daniel Dan K. created ticket #24507

    Discussion thread disappeared

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #2611

  • Daniel Dan K. Daniel Dan K. created ticket #2611

    Cannot enable sans-serif fonts for "wxt" on high display scaling

  • Daniel Dan K. Daniel Dan K. modified a comment on discussion Help

    Strange, all earlier postings have been gone. I wonder why this discussion has been deleted. My screenshots are gone, also. To file a bug on this issue I planned to reuse text and screenshots from this thread. Now I would have to generate them from scratch. :-(

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Strange, all earlier postings have been gone. I wonder why this discussion has been deleted. My screenshots are gone, also. To file a bug on this issue I planned to reuse text and screenshots from this thread. Now I'd have to generate them from scratch. :-(

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Dear MATSUOKA-san, I'll happily file a new bug on this topic.

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Dear Matsuoka-san, I tried the commands. These are my observations: Up to (and including) a display scaling of 225%, I see a "sans" font in the plot window. With 250% display scaling, a "serif" font is used in the plot window. With 300% display scaling (which is the "recommended" value on my display), the plot is covered by huge letters and a warning message appears on the console. Please see the attached files for screenshots. Thanks. Daniel

  • Daniel Dan K. Daniel Dan K. modified a wiki page

    Home

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Dear Matsuoka-san, I found out why the terminal "wxt" can use "sans" fonts on one computer and fails to use them on another: If I set the display scaling to 250% (or higher), the above mentioned behaviour occurs. If I reduce the scaling below 250%, everything works as expected: "sans" font is used automatically, gnuplot issues no warnings. If you consider this a bug, I'll happily file a ticket. Best regards, Daniel

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #2601

    Dear Matsuoka-san, That works. 👍 I didn't know that I could also drag'n'drop directory paths from explorer onto the gnuplot console window to change the working directory. This workflow provides a solution for my use case and is sufficiently smooth to be used during a presentation. Thanks. Daniel

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #2601

    Dear Matsuoka-san, Thank you for sharing this trick. I tried it and apparently this trick only works if I start wgnuplot.exe from the folder where the script file resides in or if I set the path manually to this folder. Otherwise gnuplot does not find the data files used in the plot command. I tried to "detect" the path of the script file using gnuplot commands but failed. Further, plot scripts and related data files are stored together in the same directory and I create a new directory for each...

  • Daniel Dan K. Daniel Dan K. modified a wiki page

    Home

  • Daniel Dan K. Daniel Dan K. modified a comment on ticket #2601

    Dear Matsuoka-san, Thank you for your suggestions. I use gnuplot scripts for presentation purposes. For this use case closing the plot window, opening a text editor, changing the code, and replotting is possible but defeats the purpose of scripting plots in my opinion. Ethan Merrit mentioned a compile time option. Is the discussed behaviour (whether a console opens or can be opened when gnuplot is called from a script) a compile time option? If this is not a regression, please close this bug and...

  • Daniel Dan K. Daniel Dan K. modified a comment on ticket #2601

    Dear Matsuoka-san, Thank you for your suggestions. I use gnuplot scripts for presentation purposes. For this use case opening a text editor, changing the code, and replotting is possible but defeats the purpose of scripting plots in my opinion. Ethan Merrit mentioned a compile time option. Is the discussed behaviour (whether a console opens or can be opened when gnuplot is called from a script) a compile time option? If this is not a regression, please close this bug and I will happily file a feature...

  • Daniel Dan K. Daniel Dan K. modified a wiki page

    Home

  • Daniel Dan K. Daniel Dan K. modified a wiki page

    Home

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #2601

    Dear Matsuoka-san, I use gnuplot scripts for presentation purposes. For this use case opening a text editor, changing the code, and replotting is possible but defeats the purpose of scripting plots in my opinion. Ethan Merrit mentioned a compile time option. Is the discussed behaviour (whether a console opens or can be opened when gnuplot is called from a script) a compile time option? If this is not a regression, it's a new feature and I will file a feature request 😁

  • Daniel Dan K. Daniel Dan K. posted a comment on ticket #2600

    Thank you very much for your comments. I don't know why I see a different behavior than Matsuoka-san regarding gnuplot plot window. That's puzzling. However, suggesting to use pause was successful to enable interactivity. While pause -1 enables interactivity with the qt plot window, it also opens a small popup-window with the text "paused". That's superfluous and kind of annoying because I have to close it seperately and if I close it before I close the plot window I'll loose interactivity. Therefore...

  • Daniel Dan K. Daniel Dan K. created ticket #2601

    Can not open gnuplot console window from plot window when started from script

  • Daniel Dan K. Daniel Dan K. created ticket #2600

    term "qt": plot window not interactive when started from script file.

  • Daniel Dan K. Daniel Dan K. modified ticket #2578

    mouse zooming is broken in wxt: button has loose connection in wxt

  • Daniel Dan K. Daniel Dan K. modified a comment on discussion Help

    Hello, I've been using gnuplot on Windows for many years. Everything was fine until I installed gnuplot 5.4.6 on a new Windows 10 PC. There, I don't get sans-serif font in terminal "wxt". See attached image. I wonder why this is. I tried to set the font manually using set term wxt font "Sans" but this only triggered a message while plotting: "warning: problem determining pango font metrics." and results in a plot that is unusuable because large black chunks are covering the graph. I also tried "Arial"...

  • Daniel Dan K. Daniel Dan K. modified a comment on discussion Help

    Hello, I've been using gnuplot on Windows for many years. Everything was fine until I installed gnuplot 5.4.6 on a new Windows 10 PC. There, I don't get sans-serif font in terminal "wxt". See attached image. I wonder why this is. I tried to set the font manually using set term wxt font "Sans" but this only triggered a message while plotting: "warning: problem determining pango font metrics." and results in a plot that is unusuable because large black chunks are covering the graph. I also tried "Arial"...

  • Daniel Dan K. Daniel Dan K. modified a comment on discussion Help

    Hello, I've been using gnuplot on Windows for many years. Everything was fine until I installed gnuplot 5.4.6 on a new Windows 10 PC. There, I don't get sans-serif font in terminal "wxt". See attached image. I wonder why this is. I tried to set the font manually using set term wxt font "Sans" but this only triggered a message while plotting: "warning: problem determining pango font metrics." and results in a plot that is unusuable because large black chunks are covering the graph. However, I see...

  • Daniel Dan K. Daniel Dan K. modified a comment on discussion Help

    Hello, I've been using gnuplot on Windows for many years. Everything was fine until I installed gnuplot 5.4.6 on a new Windows 10 PC. There, I don't get sans-serif font in terminal "wxt". See attached image. I wonder why this is. I tried to set the font manually using set term wxt font "Sans" but this only triggered a message while plotting: "warning: problem determining pango font metrics." and results in a plot that is unusuable because large black chunks are covering the graph. However, I see...

  • Daniel Dan K. Daniel Dan K. modified a comment on discussion Help

    Hello, I've been using gnuplot on Windows for many years. Everything was fine until I installed gnuplot on a new Windows 10 PC. There, I don't get sans-serif font in terminal "wxt". See attached image. I wonder why this is. I tried to set the font manually using set term wxt font "Sans" but this only triggered a message while plotting: "warning: problem determining pango font metrics." and results in a plot that is unusuable because large black chunks are covering the graph. However, I see sans-serif...

  • Daniel Dan K. Daniel Dan K. posted a comment on discussion Help

    Hello, I've been using gnuplot on Windows for many years. Everything was fine until I installed gnuplot on a new Windows 10 PC. There, I don't get sans-serif font in terminal "wxt". See attached image. I wonder why this is. I tried to set the font manually using set term wxt font "Sans" but this only triggered a message while plotting: "warning: problem determining pango font metrics." and results in a plot that is unusuable because large black chunks are covering the graph. However, I see sans-serif...

  • Daniel Dan K. Daniel Dan K. modified a wiki page

    Home

  • Daniel Dan K. Daniel Dan K. modified a wiki page

    Home

  • Daniel Dan K. Daniel Dan K. posted a comment on a wiki page

    Thanks!

1