altmany / altmany/export_fig

-r option and positioning of colorbar text

オープン
#145 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
MATLAB
スター
1.4k
フォーク
366
PR マージ指標
30日以内にマージされた PR はありません

説明

When I issue `-r300` option of a `pcolor`-ed graph, the colorbar text is positioned incorrectly.

Minimal example:

```Matlab
pcolor( rand(10,10) );
h = colorbar;
h.Title.String = 'x';
export_fig('test.png','-r300')
```

and the output looks like (notice `x` hovering around 0.25 in the colorbar):
![test](https://cloud.githubusercontent.com/assets/748221/14683908/d13c9a30-06f2-11e6-857d-f75053e76061.png)

On-screen, everything looks ok:
![screen shot 2016-04-20 at 12 24 38 pm](https://cloud.githubusercontent.com/assets/748221/14683918/df759c78-06f2-11e6-86fc-d87ec64fe963.png)

My current version is commit a0f8ec376d06

P.S. Thank you for the excellent work on this code, it's a lifesaver!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。