# plot the function and then the axes.

Is there a way to plot the function and then the axes. Normally this is not necessary, but when plotting a dense white noise one cannot read the ticks ?

plot the function and then the axes.

add a comment

2

You may use the options `zorder`

and `alpha`

. Graphic objects with high `zorder`

are rendered on the top layers, so they are more visible. Likewise, objects with `alpha`

near 0 are nearly transparent. Compare the three graphics yielded by the following code:

```
p1 = plot(sin(1/x), (x,-0.1,0.1), color="red")
p2 = plot(sin(1/x), (x,-0.1,0.1), color="red", zorder=0)
p3 = plot(sin(1/x), (x,-0.1,0.1), color="red", alpha=0.6)
graphics_array([p1,p2,p3])
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2020-06-08 19:06:05 +0200 **

Seen: **49 times**

Last updated: **Jun 08 '20**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.