Subject: Re: [nmr_sparky] peak color
From: Andrew Olson
Date: Oct 29, 2010

Previous: 766

I will give it a shot, but there is now way to edit some code that comes with MacOS version?


From: Tom Goddard goddard@...
To: nmr_sparky@yahoogroups.com
Sent: Fri, October 29, 2010 1:06:04 PM
Subject: Re: [nmr_sparky] peak color

Hi Andrew,

Unfortunately the white color of the peak markers and labels in Sparky is coded into the C++ and cannot be changed without recompiling Sparky. If you want to try this here is a rough guide

http://www.cgl.ucsf.edu/home/sparky/manual/install.html#Compile

It requires getting Tcl/Tk, Python, Sparky source code, messing with some make file and a 5 minute compile -- total work of about 1 hour if you know what you are doing -- otherwise may take a day or just not be possible. Youd want to change the string white in Sparky source code file ornament.cc to black.

Tom

Is there a way to edit the some file so that every time i pick a peak and label it so that they come up black instead of white?