I would like to make a plot where the second x and y axis are simply a mirror of the primary axis. For example like this typical scientific style plot with the inner facing tick marks,
.
It this easy to accomplish with coreplot?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create two new axes, one for x and one for y. Configure them to match the other axes, except change the
tickDirectionto point the other way and position them at the opposite side of the graph (using theorthogonalCoordinateDecimalor constraints). Assign both new axes to the same plot space used by the other axes. Add all four axes to an array and pass it to the axis set:There is an example of adding additional axes to a graph in the Plot Gallery demo app.