2017-01-16 66 views
1

次のgnuplotスクリプトの動作:のgnuplot:(代わりに、ポイントでの)*丸でプロットパラメトリック機能*

set parametric 
set trange [0:5] 
set xrange [0:4] 
set yrange [0:6] 
plot t+log(t+1),t*t+sin(t) title 'Parametric example' with points 

を...しかし、これはない:

set parametric 
set trange [0:5] 
set xrange [0:4] 
set yrange [0:6] 
plot t+log(t+1),t*t+sin(t) title 'Parametric example' with circles 

は何ですか(点ではなく)円でプロットする正しい構文、円の直径を設定する方法は?

ありがとうございます。

[EDIT]

私は成功せず、次の試み:

C:\gnuplot.exe 

    G N U P L O T 
    Version 4.6 patchlevel 0 last modified 2012-03-04 
    Build System: MS-Windows 32 bit 

    Copyright (C) 1986-1993, 1998, 2004, 2007-2012 
    Thomas Williams, Colin Kelley and many others 

    gnuplot home:  http://www.gnuplot.info 
    faq, bugs, etc: type "help FAQ" 
    immediate help: type "help" (plot window: hit 'h') 

gnuplot changed the codepage of this console from 437 to 1252 to 
match the graph window. Some characters might only display correctly 
if you change the font to a non-raster type. 

Terminal type set to 'windows' 

gnuplot> set samples 11 

gnuplot> plot sample [t=0:2] '+' using (t+log(t+1)) : (sqrt(t)+sin(t)) : (0.05) with circles 
    undefined variable: sample 

gnuplot> plot samples [t=0:2] '+' using (t+log(t+1)) : (sqrt(t)+sin(t)) : (0.05) with circles 
    undefined variable: samples 

gnuplot> plot [t=0:2] '+' using (t+log(t+1)) : (sqrt(t)+sin(t)) : (0.05) with circles 
    Pseudodata not yet implemented for polar or parametric graphs 

gnuplot> 

[EDIT2] をXおよびY軸は上の同じ規模になるように、私はグラフのアスペクト比を調整した場合スクリーン、円は円形ではありません。私は検索にかなり時間を費やしましたが、それを修正するための適切な構文を見つけることができませんでした。

+0

18:37 EST私はちょうど新しい情報に – Rutherford

答えて

0

sampleキーワードは、あなたの最初の試みが正常に動作しているバージョンではgnuplot 5でのみ導入されました:

set samples 11 
plot sample [t=0:2] '+' using (t+log(t+1)) : (sqrt(t)+sin(t)) : (0.05) with circles 

enter image description here

+0

Jan17を追加するために、元の記事を編集しました午後9時38分丸ではない「サークル」についてのオリジナルの投稿にコメントを追加しました。 – Rutherford

+0

アスペクト比はどのように調整しましたか? – Christoph

+0

"アスペクト比はどのように調整しましたか?"グラフの角をつかみ、X軸の1単位がY軸の1単位と同じ長さになるまでドラッグします。 – Rutherford

関連する問題