From: James <ja...@ry...> - 2013-06-29 12:51:05
|
Thanks Angel. I see that echo has almost everything. But, the reason I was trying to use labels is because they can have a line to an atom. After reviewing "draw ARROW" in the hopes that it could substitute for that line, I don't see that it is possible to draw from a 2D point (e.g., top left) to a 3D point (an atom). I tried assigning echo an ID and drawing from that to an atom, but (as I suspected - just hoping I could trick it) since echo isn't a draw object it doesn't work. I can't find a way to bridge that 2D/3D coordinate issue, which label does automatically. Thanks, James On Saturday, June 29, 2013, Angel Herráez wrote: > Hello, James > > By definition, labels are attached to atoms. That is why the distance > cannot > be long. > >From your description, I don't think that labels are what you need. You > have > "echo" for positioning text either in 2D screen space or in 3D molecular > coordinates, at arbitrary positions and with chosen alignment, even > multi-line. > > e.g. > > set echo myEcho1 0 50%; echo Hello; > // windowLeft+windowMiddle, left flushed > set echo myEcho2 0 100%; echo Good Bye; > // windowLeft+windowTop, left flushed > set echo myEcho3 15% 85%; set echo center; echo Another; > // close to windowLeft+windowTop, center-justified > // note that text will never go out of screen, it will flush to the edge > if needed > > set echo myEcho4 0 100%; echo First Line; > set echo myEcho5 0 100%; echo "|Second Line"; //no overlap due to the > initial newline (|) > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Jmol-users mailing list > Jmo...@li... <javascript:;> > https://lists.sourceforge.net/lists/listinfo/jmol-users > -- Sincerely, James Ryley, PhD, Patent Agent SumoBrain: Intellectual Property Solutions & Data AcclaimIP <https://www.acclaimip.com/> | FreePatentsOnline.com<http://www.freepatentsonline.com/>| SumoBrain.com <http://www.sumobrain.com/> | BioMedSearch.com<http://www.biomedsearch.com/> This communication is confidential and may be subject to legal privilege. Nothing contained herein should be construed as legal or patenting advice. |