Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Now, start the plot; alter the default figure margins to be 5, 4, 4, and 6 lines wide on the bottom, left, top, and right,

Now, start the plot; alter the default figure margins to be 5, 4, 4, and 6 lines wide on the bottom, left, top, and right, respectively. Plot salary on the y-axis against years of service on the x-axis. Set the corresponding point colors according to your vector from (d) and the point characters and character expansion according to your vectors from (b). Tidy up the x-axis and y-axis titles.

Incorporate two separate legends following the guidelines in (i) and (ii). Both legends should be horizontal, and you should relax clipping to allow their placement in figure margins (refer to Section 23.2.3).

i. Place the first legend at the user coordinate given by x=-5 and y=265000. It should use the levels of the rank factor vector as the referencing text and pair these with the corresponding pch symbols as assigned. Include an appropriate title for the legend.

ii. The second legend should be placed next to the first, using an x-coordinate of 40 and the same y-coordinate value. This legend should show two points, both red and of type 19, but reference the two levels of sex by altering the character expansion and opacity of these to reference points as assigned.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Design Operation And Evaluation Of Mobile Communications

Authors: Gavriel Salvendy ,June Wei

1st Edition

3030770249, 978-3030770242

More Books

Students also viewed these Programming questions