Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7435
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: remove tick labels |
| Date | 2011-12-26 11:53 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jd9n88$e2r$1@smc.vnet.net> (permalink) |
| References | <201112241209.HAA13633@smc.vnet.net> <jd71m8$12f$1@smc.vnet.net> |
On 12/25/2011 5:33 AM, Bob Hanlon wrote:
> Show[(plt = Plot[x, {x, 0, 1}]),
> Ticks -> (Ticks /. AbsoluteOptions[plt, Ticks] /.
> {t_, t_, l_List, s_List} -> {t, "", l, s})]
>
> Bob Hanlon
>
I tried something like the above during my attempts, but if you notice,
the ticks on the 'modified' plot do not look the same as the
original one.
If we Compare
Plot[Sin[x], {x, -Pi, Pi}]
with what you have:
Show[(plt = Plot[Sin[x], {x, -Pi, Pi}]),
Ticks -> (Ticks /.
AbsoluteOptions[plt, Ticks] /. {t_, t_, l_List, s_List} -> {t,
"", l, s})]
We notice 2 things:
1) some ticks are lost near the orgin on the x-axis
2) the y-axis ticks no longer looks like in the orginal plot.
--Nasser
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: remove tick labels Bob Hanlon <hanlonr357@gmail.com> - 2011-12-25 11:33 +0000 Re: remove tick labels "Nasser M. Abbasi" <nma@12000.org> - 2011-12-26 11:53 +0000
csiph-web