How can I add axes on top and right?

26 views (last 30 days)
Martina Artioli
Martina Artioli on 8 Jun 2023
Commented: KALYAN ACHARJYA on 12 Jun 2023
Exactely like this.
Not different axes, I just want to add on top and right same x and y axes to make a kind of "cornice", same colour, same axis and no label!
Thank you very much.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 8 Jun 2023
Edited: KALYAN ACHARJYA on 8 Jun 2023
This way
legend('Case 1', 'case 2');
legend_data= legend('Line 1', 'Line 2');
legend_data.Location = 'northwest';
  6 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!