Hi Sir
We use the function mpg() for ticks on axes. If we define more number of
ticks then each tick is not labeled. How to label each tick on axes?
Regards
--
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
amna khan wrote:
Hi Sir
We use the function mpg() for ticks on axes. If we define more number of
ticks then each tick is not labeled. How to label each tick on axes?
What is mpg()? Which version of R? Which device? Which OS?
I guess R cannot print more labels because the ticks are too
Hi Sir
If I want 10 ticks on x-axis and 10 ticks on y-axis then I use
lab=c(10,10, 20)
Here first 10 is for 10 ticks on x-axis, second 10 is for 10 ticks on y-axis
and 20 is the lenght of x and y labels in characters.
Now my question is that how I can label all 10 ticks on x-aixs and all 10
amna khan wrote:
Hi Sir
If I want 10 ticks on x-axis and 10 ticks on y-axis then I use
lab=c(10,10, 20)
Here first 10 is for 10 ticks on x-axis, second 10 is for 10 ticks on y-axis
and 20 is the lenght of x and y labels in characters.
Now my question is that how I can label all 10
amna khan wrote:
Hi Sir
We use the function mpg() for ticks on axes. If we define more number of
ticks then each tick is not labeled. How to label each tick on axes?
Hi Amina,
The staxlab function in the plotrix package will display tick labels
even if they would overlap on the standard