jsPsychを使ったpie chart刺激提示について

71 views
Skip to first unread message

Nori H

unread,
Jun 3, 2018, 11:19:27 PM6/3/18
to 心理学実験について話そう
黒木先生

2回目の相談です。

jsPsychを使ったpie chartの刺激提示を考えています。この時、トライアル毎に異なるpie chartを提示したいと考えており、chart.js(例:http://www.chartjs.org/samples/latest/charts/pie.html)を使ってパラメータ制御、表示しようと考えています。
ところが公式jsPsychサイトにてこのようなことを想定した説明を見つけることができませんでした。もし参考になりそうなサイト名などの情報をご存知でしたら教えていただけたらと思い投稿しました。

よろしくお願いいたします。

黒木@九州大学

unread,
Jun 4, 2018, 2:19:44 AM6/4/18
to 心理学実験について話そう
大変申し訳ありませんが、ご質問の内容は私ではお答えできそうにありません。

jsPsychの公式フォーラムで質問されることをお勧めいたします。

Nori H

unread,
Jun 4, 2018, 2:42:01 AM6/4/18
to 心理学実験について話そう
黒木先生 
返信ありがとうございます。
jsPsychの公式フォーラムへは既に投稿しており、返信を待っている状況です。
何かわかりましたらこちらへ報告しようと思います。

ありがとうございました。

Nori H

unread,
Jun 22, 2018, 12:44:48 AM6/22/18
to 心理学実験について話そう
皆様

jsPsychの公式フォーラムからの返事を下に貼り付けます。
htmlを表示するようなpluginを使えば可能なのでは、ということでした。

原澤

>Hi,
>
>You can add additional libraries like chartjs by including the <script> tag in the head section of the experiment page. You could then use a plugin that displays generic HTML (e.g., html-keyboard->response) and pass it the rendered pie chart as the stimulus argument. Alternatively, you can create or modify a plugin to use JS methods within the trial.
>
>Cheers,
>Josh

黒木@九州大学

unread,
Jun 24, 2018, 8:01:05 PM6/24/18
to 心理学実験について話そう
原澤先生

情報提供をありがとうございました。
実験がうまくいくことを祈っております。

黒木
Reply all
Reply to author
Forward
0 new messages