altmany / altmany/export_fig

axis labels with pixel units get shifted in export

Open
#135 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
MATLAB
Stars
1.4k
Forks
366
PR merge metrics
No merged PRs in 30d

Description

A minimal working example is below:

```Matlab
close all;
xlabel('x','units','pixels')
ylabel('y','units','pixels')
export_fig('test.png')
```

The result is as follows:

![test](https://cloud.githubusercontent.com/assets/18172461/14150011/373048d6-f664-11e5-949f-6951bcdc47c5.png)

The x and y labels are shifted, when they should remain in the middle of their respective axes.

I am using MATLAB 2015b for Mac and the most recent version of `export_fig` (as of March 30, 2016).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.