Strange surface plot
@9prady9 がすでに取り組んでいます。
2017年11月22日 から。
評価
この issue はまだ評価されていません。
説明
Hi, on my machine, the surface plot seems to have multiple issues. If I run the following code:
#include <arrayfire.h>
int main(int argc, char *argv[])
{
try {
af::info();
af::array X = af::seq(0., 0.4, 0.1);
af::array Y = af::seq(0., 0.9, 0.1);
af::array Z = af::constant(1., 5, 10);
af::Window window(1500, 800, "The door.");
do {
window.surface(X, Y, Z, "The weird surface");
} while(!window.close());
} catch (af::exception& e) {
fprintf(stderr, "%s\n", e.what());
throw;
}
return 0;
}
I see the following image (without the red lines):

The image has a few problems:
- The Y-axis labels are all the same.
- The X-axis labels are probably all the same as well.
- The surface is plotted in wrong position and probably scaled badly (hard to say).
System version:
ArrayFire v3.6.0 (OpenCL, 64-bit Linux, build default)
[0] INTEL: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 15930 MB
Linux pine 4.13.11-1-ARCH #1 SMP PREEMPT Thu Nov 2 10:25:56 CET 2017 x86_64 GNU/Linux
Both Forge from devel branch and from arrayfire behave the same, CPU backend as well.
Also when I resize the window, the program crashes with:
Failed to blit
[1] 788 segmentation fault (core dumped) ./a.out
Thank you for your help and for a nice high-performance visualization tool!
- 主要言語
- C++
- スター
- 238
- フォーク
- 46
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
arrayfire/forge のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
enhancement
arrayfire/forge の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google/libultrahdr#485 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
godotengine/godot#123776 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ros2/common_interfaces#344 ·