Legend Position Changes
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 413
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
When writing the figure to Matlab the default legend position is as shown below

However, there does not seem to be a way to edit this location such that it resembles the figure below. You need to manually go and edit the figure in plotly. This does seem possible in Python. But changing the orientation in Matlab by using
legend(legendData, 'Location','North','Orientation','horizontal')
does not produce the same figure once exported to plotly

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the MATLAB legend call shown in the issue and compare its exported Plotly figure with the requested legend placement. Trace the MATLAB-to-Plotly export path for legend location and orientation, then verify that the exported figure preserves the intended north, horizontal legend layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100