Mouse pointer issue

61 views
Skip to first unread message

Rajan K Paranji

unread,
Apr 15, 2021, 8:43:20 PM4/15/21
to NMR POKY/SPARKY USER GROUP
Hi Woonghee
   The default mouse pointer within the spectrum window is off-white and displays OK on black background. When I move the cursor to the spectrum projection or CS axis area, it simply disappears in the gray backgroune here.  Actually I don't recall any option in Sparky also to mess with the basic color scheme and I haven't had issues with displaying the cursor in any part of the spectrum window.

Thank you for your time. Much appreciated.

rajan

Lee, Woonghee

unread,
Apr 15, 2021, 8:45:44 PM4/15/21
to Rajan K Paranji, NMR POKY/SPARKY USER GROUP
Dear Rajan,

Would you please attach a screen shot?

Thanks,
Woonghee


From: nmr-s...@googlegroups.com <nmr-s...@googlegroups.com> on behalf of Rajan K Paranji <raj...@uw.edu>
Sent: Thursday, April 15, 2021 6:43:20 PM
To: NMR POKY/SPARKY USER GROUP <nmr-s...@googlegroups.com>
Subject: [NMR POKY/SPARKY] Mouse pointer issue
 
--
You received this message because you are subscribed to the Google Groups "NMR POKY/SPARKY USER GROUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nmr-sparky+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nmr-sparky/ea2692d2-3bc5-456d-a882-0e6f7536d253n%40googlegroups.com.

Rajan K Paranji

unread,
Apr 15, 2021, 8:45:54 PM4/15/21
to NMR POKY/SPARKY USER GROUP
I just now checked - the default color scheme in Sparky is this  light purple for any area outside of the  main black spectrum window.  The mouse pointer switches from opaque white inside the spectrum to opaque black when I move it outside the spectrum and so display contrast is no issue there.

stefano ciurli

unread,
Apr 16, 2021, 2:36:33 AM4/16/21
to NMR POKY/SPARKY USER GROUP
Hi,
I have been using POKY in the last few days, and I noticed that when I print a spectrum to a (only default) postscript file, of course with white background, the peak cross is printed in white, so it is hardly visible in the picture. Also, in the postscript the lines defining the peaks contour are very thin. Is there a way to solve these issues, by printing the cross and the contours with options to show them more clearly?
Stefano

Lee, Woonghee

unread,
Apr 16, 2021, 7:35:39 AM4/16/21
to stefano ciurli, NMR POKY/SPARKY USER GROUP
Hi Stefano,

If I remember correctly, it depends on your spectrum's background color. You can switch by "ci" and try again. Also, line thickness can be changed in "oz".

Cheers,
Woonghee


From: nmr-s...@googlegroups.com <nmr-s...@googlegroups.com> on behalf of stefano ciurli <stefano...@gmail.com>
Sent: Friday, April 16, 2021 12:35:59 AM

To: NMR POKY/SPARKY USER GROUP <nmr-s...@googlegroups.com>
Subject: [NMR POKY/SPARKY] print
 
Hi,
I have been using POKY in the last few days, and I noticed that when I print a spectrum to a (only default) postscript file, of course with white background, the peak cross is printed in white, so it is hardly visible in the picture. Also, in the postscript the lines defining the peaks contour are very thin. Is there a way to solve these issues, by printing the cross and the contours with options to show them more clearly?
Stefano

--
You received this message because you are subscribed to the Google Groups "NMR POKY/SPARKY USER GROUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nmr-sparky+...@googlegroups.com.

stefano ciurli

unread,
Apr 16, 2021, 7:38:50 AM4/16/21
to Lee, Woonghee, NMR POKY/SPARKY USER GROUP
Hi Woonghee,
thank you. I am aware of the options to change the background color and the line thicknesses, but the problem occurs upon printing with the ‘pt’ comment, not on the screen, where those commands respond nicely.
Stefano

Lee, Woonghee

unread,
Apr 16, 2021, 7:42:18 AM4/16/21
to stefano ciurli, NMR POKY/SPARKY USER GROUP
Hi Stefano,

Actually, they share the drawing routine, so the change will affect in "pt", too.

Woonghee


From: stefano ciurli <stefano...@gmail.com>
Sent: Friday, April 16, 2021 5:38:30 AM
To: Lee, Woonghee <WOONGH...@UCDENVER.EDU>
Cc: NMR POKY/SPARKY USER GROUP <nmr-s...@googlegroups.com>
Subject: Re: [NMR POKY/SPARKY] print
 

stefano ciurli

unread,
Apr 16, 2021, 7:55:45 AM4/16/21
to Lee, Woonghee, NMR POKY/SPARKY USER GROUP
Hi Woonghee,
if you compare the two images below, one produced with a screen shot showing what I see in POKY and the other produced with the ‘pt’ command and saved as jpg, you understand the problem.
Stefano



Lee, Woonghee

unread,
Apr 16, 2021, 8:00:16 AM4/16/21
to stefano ciurli, NMR POKY/SPARKY USER GROUP
Hi Stefano,

This is what I was saying. You have to have black background in your computer screen to have black crosses in the printed one. Because it switches ornament color black and white depending on background and background color filling is skipped when printing. Type "ci" and print again. Let me know if it does not fix the problem. I will write some additional codes for that though.

Thanks,
Woonghee



Sent: Friday, April 16, 2021 5:54:55 AM

stefano ciurli

unread,
Apr 16, 2021, 8:04:51 AM4/16/21
to Lee, Woonghee, NMR POKY/SPARKY USER GROUP
Hi Woonghee,
maybe I am mistakenly interpreting your message, but I typed ‘ci’ and of course the background went black, and with black contours I only see the white crosses. When I print it from this type of view, I see no improvement. See two images below.
Stefano




On 16 Apr 2021, at 14:00, Lee, Woonghee <WOONGH...@UCDENVER.EDU> wrote:

Hi Stefano,

This is what I was saying. You have to have black background in your computer screen to have black crosses in the printed one. Because it switches ornament color black and white depending on background and background color filling is skipped when printing. Type "ci" and print again. Let me know if it does not fix the problem. I will write some additional codes for that though.

Thanks,
Woonghee



From: nmr-s...@googlegroups.com <nmr-s...@googlegroups.com> on behalf of stefano ciurli <stefano...@gmail.com>
Sent: Friday, April 16, 2021 5:54:55 AM
To: Lee, Woonghee <WOONGH...@UCDENVER.EDU>
Cc: NMR POKY/SPARKY USER GROUP <nmr-s...@googlegroups.com>
Subject: Re: [NMR POKY/SPARKY] print
 
Hi Woonghee,
if you compare the two images below, one produced with a screen shot showing what I see in POKY and the other produced with the ‘pt’ command and saved as jpg, you understand the problem.
Stefano

<PastedGraphic-4.png>

<poky.XEiDCo.jpg>

Lee, Woonghee

unread,
Apr 16, 2021, 8:10:18 AM4/16/21
to stefano ciurli, NMR POKY/SPARKY USER GROUP
Oh, I will need to check... Have you tried other peak colors using "cr"? 


From: stefano ciurli <stefano...@gmail.com>
Sent: Friday, April 16, 2021 6:04:20 AM

stefano ciurli

unread,
Apr 16, 2021, 8:15:53 AM4/16/21
to Lee, Woonghee, NMR POKY/SPARKY USER GROUP
yes, same result with or without black background, and actually messier, with some red mixed with black...
Stefano


On 16 Apr 2021, at 14:10, Lee, Woonghee <WOONGH...@UCDENVER.EDU> wrote:

Oh, I will need to check... Have you tried other peak colors using "cr"? 


From: stefano ciurli <stefano...@gmail.com>
Sent: Friday, April 16, 2021 6:04:20 AM
To: Lee, Woonghee <WOONGH...@UCDENVER.EDU>
Cc: NMR POKY/SPARKY USER GROUP <nmr-s...@googlegroups.com>
Subject: Re: [NMR POKY/SPARKY] print
 
Hi Woonghee,
maybe I am mistakenly interpreting your message, but I typed ‘ci’ and of course the background went black, and with black contours I only see the white crosses. When I print it from this type of view, I see no improvement. See two images below.
Stefano

<PastedGraphic-5.png>

<poky.XEiDCo2.jpg>

Gabriel Cornilescu

unread,
Apr 16, 2021, 8:16:35 AM4/16/21
to nmr-s...@googlegroups.com

Hi, Stefano,

Just curious, why do you need the peak crosses in the printouts?

I usually deselect them in the 'pt' window in Sparky since they are not welcome in paper figures, nor in presentation slides etc.

Cheers,

Gabriel

Lee, Woonghee

unread,
Apr 16, 2021, 8:18:23 AM4/16/21
to stefano ciurli, NMR POKY/SPARKY USER GROUP
I meant the cross colors. You can select peaks and change their colors by "cr".



Sent: Friday, April 16, 2021 6:15:30 AM

Gabriel Cornilescu

unread,
Apr 16, 2021, 8:59:15 AM4/16/21
to nmr-s...@googlegroups.com

I don't get any color changes with 'cr', neither in Linux nor on a Mac... the peak crosses stay black and in the postscript print they come out white or a faint green after lots of monkeying around, never black. Must be the postscript interpreter...

stefano ciurli

unread,
Apr 16, 2021, 9:01:53 AM4/16/21
to Gabriel Cornilescu, nmr-s...@googlegroups.com
Hi Gabriel, I do not, actually, but I am a control freak :-)) and it would be nice, in some cases, to be able to shown them.
And in any case, for example changing the contour thickness works on screen but nothing changes in the ps file produced by the ‘pt’ command, so it would be nice to have a correspondence between the two situations.
Thanks!
Stefano

On 16 Apr 2021, at 14:16, Gabriel Cornilescu <gcorn...@gmail.com> wrote:

Hi, Stefano,

Just curious, why do you need the peak crosses in the printouts?

I usually deselect them in the 'pt' window in Sparky since they are not welcome in paper figures, nor in presentation slides etc.

Cheers,

Gabriel


On 4/16/21 7:54 AM, stefano ciurli wrote:
Hi Woonghee,
if you compare the two images below, one produced with a screen shot showing what I see in POKY and the other produced with the ‘pt’ command and saved as jpg, you understand the problem.
Stefano

<PastedGraphic-4.png>

<poky.XEiDCo.jpg>

WOONGHEE LEE

unread,
Apr 16, 2021, 9:01:53 AM4/16/21
to nmr-s...@googlegroups.com, gcorn...@gmail.com
Hi Gabriel,

I also see the generated postscript file and it paints black in the code. Something is wrong. I will dig in more. I tried blue and some others and it works for me though. Only black and white do not work for me.

Best,
Woonghee


stefano ciurli

unread,
Apr 16, 2021, 9:02:07 AM4/16/21
to Gabriel Cornilescu, NMR POKY/SPARKY USER GROUP
I confirm.
Stefano


On 16 Apr 2021, at 14:59, Gabriel Cornilescu <gcorn...@gmail.com> wrote:

I don't get any color changes with 'cr', neither in Linux nor on a Mac... the peak crosses stay black and in the postscript print they come out white or a faint green after lots of monkeying around, never black. Must be the postscript interpreter...


On 4/16/21 8:18 AM, Lee, Woonghee wrote:
I meant the cross colors. You can select peaks and change their colors by "cr".



From: nmr-s...@googlegroups.com <nmr-s...@googlegroups.com> on behalf of stefano ciurli <stefano...@gmail.com>
Sent: Friday, April 16, 2021 6:15:30 AM
To: Lee, Woonghee <WOONGH...@UCDENVER.EDU>
Cc: NMR POKY/SPARKY USER GROUP <nmr-s...@googlegroups.com>
Subject: Re: [NMR POKY/SPARKY] print
 
yes, same result with or without black background, and actually messier, with some red mixed with black...
Stefano
<poky.XEiDCo3.jpg>

Gabriel Cornilescu

unread,
Apr 16, 2021, 9:07:14 AM4/16/21
to stefano ciurli, nmr-s...@googlegroups.com

I am the same and wasted some hours trying exactly what you described, to no avail. But I've seen lots of hiccups with postscript code generated by other scientific software in the past, so I gave up.

Some 25 years ago we would actually hack into the generated postscript files to get decent results. You may get a lame but easier workaround with high resolution screenshots :)

stefano ciurli

unread,
Apr 16, 2021, 9:09:17 AM4/16/21
to Gabriel Cornilescu, nmr-s...@googlegroups.com
Gabriel,
the last suggestion has been also my last resort… which I have been using so far, but for publication-quality figures it is not enough, IMHO.
Cheers,
Stefano

Lee, Woonghee

unread,
Apr 16, 2021, 9:25:15 AM4/16/21
to stefano ciurli, Gabriel Cornilescu, nmr-s...@googlegroups.com

Yeah, we almost always need to do something more. It is not supported by many developers and QA team, and I appreciate every reports. I am aware of the reported issues and they will be fixed at some point.

 

--

Woonghee Lee, I.E.I.P., M.S., Ph.D.

 

Assistant Professor

Department of Chemistry

University of Colorado Denver

1151 Arapahoe St. (Science Bldg.) Rm 4128A

Denver, CO 80217-3364, USA

Office: +1-303-315-7672

woongh...@ucdenver.edu

 

https://poky.clas.ucdenver.edu

https://poky.clas.ucdenver.edu/wlee-group

https://clas.ucdenver.edu/chemistry/woonghee-lee

 

Shipping/Mailing Address:

Woonghee Lee

1201 5th St. UCD CHEM-194

P.O. Box 173364 (USPS)

Denver, CO 80204, USA

Gabriel Cornilescu

unread,
Apr 16, 2021, 9:30:02 AM4/16/21
to Lee, Woonghee, stefano ciurli, nmr-s...@googlegroups.com

Thanks Woonghee, what you did so far with Sparky is amazing, I'm grateful.

I use to need nmrDraw/Sparky 90%/10% of the time, respectively, now these percentages are swapped!

stefano ciurli

unread,
Apr 16, 2021, 9:35:50 AM4/16/21
to Gabriel Cornilescu, Lee, Woonghee, nmr-s...@googlegroups.com
Woonghee, we are all grateful for your amazing job with SPARKY and now with POKY! I was just trying to be constructive :-)
Cheers,
Stefano
Reply all
Reply to author
Forward
0 new messages