Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Forcing a Tick at Zero?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33800] Forcing a Tick at Zero?
  • From: aes <siegman at stanford.edu>
  • Date: Tue, 16 Apr 2002 03:51:41 -0400 (EDT)
  • Organization: Stanford University
  • Sender: owner-wri-mathgroup at wolfram.com

The list produced by the following contains labelled ticks at -20, -10, 0, 10 
and 20 and unlabelled ticks at -15, -5, 5 and 15, as expected:

   xticks = Table[{k, If[Mod[k, 10] == 0, ToString[k], " "]}, {k, -20, 20, 5}]

But the following still doesn't force a labelled tick at x=0 as wanted:

   Plot[ - - - - ,Ticks->{xticks,Automatic}, - - - -]

??????????????


  • Prev by Date: Two Columns of text in Mathematica?
  • Next by Date: Driving me nuts
  • Previous by thread: Two Columns of text in Mathematica?
  • Next by thread: Re: Forcing a Tick at Zero?