How can I add axes on top and right?
38 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1406389/image.png)
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.
0 Comments
Answers (1)
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
See Also
Categories
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!