s-news
[Top] [All Lists]

axes tick labels

To: s-news@lists.biostat.wustl.edu
Subject: axes tick labels
From: Paul Matthias Diderichsen <paulmatthias.diderichsen@abbott.com>
Date: Wed, 16 Aug 2006 11:53:40 +0200

Dear S-plus Gurus,
somebody asked me to do a xyplot of some data versus time. No problem, I said. Then, they told me that the ticks and labels along the time axis (abscissa) were to be multiples of 24 (hours). No problem, I repeated, anticipating none. But - alas - it did turn out to be a problem.

Please let me know if you have any ideas how to accomplish this - dirty workarounds are accepted. ;-) Also please tell me, if you are relatively sure that this can not be done. More generally, I am looking for a solution similar to matlab's XTick=[vector of positions on the axes where ticks are to appear] and XTickLabels={array of strings}.


Thanks a lot, Paul M. Diderichsen.
============================================================================================================================
The information contained in this communication is confidential, may be subject to legal privileges, may constitute inside information, and is intended only for the use of the addressee. It is the property of Abbott Laboratories or its relevant affiliate. Unauthorized use, disclosure or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify Abbott Laboratories immediately by return e-mail and destroy this communication and all copies thereof, including all attachments.
=============================================================================================================================
<Prev in Thread] Current Thread [Next in Thread>