update japanese translation of core module.
[scilab.git] / scilab / modules / graphics / help / ja_JP / GlobalProperty.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4
5  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6
7  * Copyright (C) INRIA - Fabrice Leray
8
9  * 
10
11  * This file must be used under the terms of the CeCILL.
12
13  * This source file is licensed as described in the file COPYING, which
14
15  * you should have received as part of this distribution.  The terms
16
17  * are also available at    
18
19  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
20
21  *
22
23  -->
24
25 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="GlobalProperty">
26     
27     <refnamediv>
28         
29         <refname>GlobalProperty</refname>
30         
31         <refpurpose>plotまたはsurfコマンドでオブジェクト(曲線,曲面...)の外観をカスタマイズ.</refpurpose>
32         
33     </refnamediv>
34     
35     <refsection>
36         
37         <title>説明</title>
38         
39         <para>
40             
41             <literal>GlobalProperty</literal> は,
42             
43             <link linkend="plot">plot</link> または <link linkend="surf">surf</link>コマンドの内部で
44             
45             使用可能なオプション引数です.
46             
47             これにより,新規にプロットされる全ての線(または平面)のグローバルなカスタマイズが
48             
49             可能となります.
50             
51             値は, {<literal>PropertyName</literal>, <literal>PropertyValue</literal>}の
52             
53             対で指定する必要があります.
54             
55             <function>plot</function> または <function>surf</function> を
56             
57             コールする際に一度に複数の対を設定できます.
58             
59         </para>
60         
61         <para>
62             
63             <literal>PropertyName</literal> は,設定するプロパティを定義する文字列と
64             
65             する必要があります.
66             
67             <literal>PropertyValue</literal>  は,使用するプロパティの型により
68             
69             実数, 整数または文字列 (スカラーまたは行列)とすることができます. 
70             
71             例えば,菱形のマーカ(マーカ)が付いた赤(色)の長い破線+ドット(線の形式)
72             
73             を指定する場合,このシーケンスは以下のようになります :
74             
75             <literal>'Colo'</literal>, <literal>'red'</literal>, 
76             
77             <literal>'LineSt'</literal>, <literal>'-.'</literal>, 
78             
79             <literal>'Marker'</literal>, <literal>'diam'</literal>.
80             
81         </para>
82         
83         <para>
84             
85             見てわかるように,各プロパティ名および値の綴り全体を指定する
86             
87             必要はなく,順序も任意ですが,一義的である必要があります.
88             
89             更に,文字列の指定は大文字と小文字を区別しません.
90             
91             <literal>GlobalProperty</literal> は過去に記述された全ての 
92             
93             <literal>LineSpec</literal>に優先します.
94             
95         </para>
96         
97         <para>
98             
99             以下に全ての(<link linkend="plot">plot</link>または
100             
101             <link linkend="surf">surf</link>により)
102             
103             指定可能な<literal>PropertyName</literal>の一覧と
104             
105             関連する<literal>PropertyValue</literal>を示します.
106             
107             指定されない場合,これらのプロパティは
108             
109             (それぞれ plot または surfにより作成された)
110             
111             <literal>Polyline</literal> および <literal>Fac3d</literal>
112             
113             オブジェクトの両方で利用可能で,前記のように
114             
115             新規に作成されるオブジェクト(線または曲面)に適用されます.
116             
117         </para>
118         
119         <para>
120             
121             時々,1つのプロパティに2つの <literal>PropertyName</literal>が
122             
123             対応する場合があります :
124             
125             最初の1つはデフォルトMatlabの名前に等価なもので,
126             
127             2番目のものはScilabにより使用されるデフォルトの名前です.
128             
129             (線の場合 <literal>Color</literal> または <literal>Foreground</literal>
130             
131             ,下記参照).
132             
133         </para>
134         
135         <variablelist>
136             
137             <varlistentry>
138                 
139                 <term>CData または ColorData: </term>
140                 
141                 <listitem>
142                     
143                     <para>
144                         
145                         <literal>Z</literal>行列で定義される各点における色を指定する実数行列.
146                         
147                         このプロパティはオブジェクトの<literal>data.color</literal>プロパティに
148                         
149                         リンクされています(
150                         
151                         <link linkend="surface_properties">surface_properties</link>参照). 
152                         
153                         <note>
154                             
155                             このプロパティは曲面(surface)でのみ使用可能であることに注意してください.
156                             
157                         </note>
158                         
159                     </para>
160                     
161                 </listitem>
162                 
163             </varlistentry>
164             
165             <varlistentry>
166                 
167                 <term>CDataMapping または ColorDataMapping: </term>
168                 
169                 <listitem>
170                     
171                     <para>
172                         
173                         <literal>'scaled'</literal> または
174                         
175                         <literal>'direct'</literal>を値とする文字列. <literal>data.color</literal> が設定された場合, 
176                         
177                         color data の各インデックスは各頂点について単一の値を指定します.
178                         
179                         
180                         
181                         <literal>cdata_mapping</literal> はこれらのインデックスが
182                         
183                         カレントのカラーマップに線形にマップするためにスケーリングされる
184                         
185                         (<literal>'scaled'</literal> モード)か,もしくは,
186                         
187                         このカラーマップを直接指す(<literal>'direct</literal>' モード)
188                         
189                         かのどちらとなるかを定義します.
190                         
191                         このプロパティは,<literal>color_flag</literal>が
192                         
193                         <literal>2</literal>,<literal>3</literal> または <literal>4</literal>の時に有用です.
194                         
195                         <note>
196                             
197                             このプロパティは,<literal>Fac3d</literal>エンティティのみに存在することに注意してください.
198                             
199                             また,<literal>plot3d</literal> では <literal>'direct'</literal>モードがデフォルトで,
200                             
201                             <literal>surf</literal> では<literal> 'scaled'</literal> モードがデフォルトであることに
202                             
203                             も注意してください.
204                             
205                         </note>
206                         
207                     </para>
208                     
209                 </listitem>
210                 
211             </varlistentry>
212             
213             <varlistentry>
214                 
215                 <term>Clipping: </term>
216                 
217                 <listitem>
218                     
219                     <para>
220                         
221                         文字列 <literal>"on"</literal> または <literal>"off"</literal> は,
222                         
223                         クリッピングモード (デフォルト: <literal>"on"</literal>)を定義します.
224                         
225                         これは, <literal>clip_state</literal>プロパティと等価です.
226                         
227                         このフィールドは,<literal>visible</literal>プロパティを有します
228                         
229                         (<link linkend="polyline_properties">polyline_properties</link>参照).
230                         
231                         <note>
232                             
233                             このプロパティは surface エンティティではまだ利用できないことに注意してください.
234                             
235                         </note>
236                         
237                     </para>
238                     
239                 </listitem>
240                 
241             </varlistentry>
242             
243             <varlistentry>
244                 
245                 <term>Color または Foreground: </term>
246                 
247                 <listitem>
248                     
249                     <para>
250                         
251                         既知の色を定義する文字列(<link linkend="color_list">color_list</link>参照)
252                         
253                         または,色番号を定義する
254                         
255                         <literal>1</literal>x<literal>3</literal> (または<literal>3</literal>x<literal>1</literal>) RGB
256                         
257                         ベクトル.
258                         
259                         色番号は,それぞれ赤,緑,青の彩度(0から1)に対応する <literal>R</literal>, <literal>G</literal>, 
260                         
261                         <literal>B</literal> の組で指定されます.
262                         
263                         このプロパティはオブジェクトの<literal>foreground</literal>プロパティに
264                         
265                         リンクされています
266                         
267                         (<link linkend="polyline_properties">polyline_properties</link>参照). 
268                         
269                         <warning>
270                             
271                             Color は surface オブジェクトでは使用できません.surfaceオブジェクトにおいても
272                             
273                             <literal>Foreground</literal> プロパティは存在しますが,
274                             
275                             Matlab <literal>EdgeColor</literal>プロパティにリンクされています(
276                             
277                             <link linkend="surface_properties">surface_properties</link>参照).
278                             
279                         </warning>
280                         
281                     </para>
282                     
283                 </listitem>
284                 
285             </varlistentry>
286             
287             <varlistentry>
288                 
289                 <term>EdgeColor または Foreground: </term>
290                 
291                 <listitem>
292                     
293                     <para>
294                         
295                         既知の色を定義する文字列 (<link linkend="color_list">color_list</link>参照) または,
296                         
297                         色番号を定義するベクトル.
298                         
299                         色番号は,それぞれ赤,緑,青の彩度(0から1)に対応する <literal>R</literal>, <literal>G</literal>, 
300                         
301                         <literal>B</literal> の組で指定されます.
302                         
303                         このプロパティはオブジェクトの<literal>foreground</literal>プロパティに
304                         
305                         リンクされています
306                         
307                         (<link linkend="surface_properties">surface_properties</link>参照). 
308                         
309                         <warning>
310                             
311                             polylineオブジェクトの場合,
312                             
313                             <literal>Foreground</literal> プロパティは存在しますが,意味が異なります(上記参照).
314                             
315                             また,<literal>EdgeColor</literal>は存在しません.
316                             
317                         </warning>
318                         
319                     </para>
320                     
321                 </listitem>
322                 
323             </varlistentry>
324             
325             <varlistentry>
326                 
327                 <term>FaceColor: </term>
328                 
329                 <listitem>
330                     
331                     <para>
332                         
333                         文字列で,値は <literal>'none'</literal>, <literal>'flat'</literal> または
334                         
335                         <literal>'interp'</literal>.
336                         
337                         この値は,小平面の色をレンダリングする方法を指定します.
338                         
339                         <literal> 'none'</literal> が選択された場合, 曲面のメッシュが描画されます.
340                         
341                         <literal>'flat'</literal> (デフォルトモード) が設定された場合, 
342                         
343                         <literal>Fac3d</literal> <literal>color.data</literal> の値が
344                         
345                         小平面の最初の頂点の色により小平面毎に1つの色を定義します.
346                         
347                         値が<literal>'interp'</literal>の場合,
348                         
349                         小平面の各頂点における色を定義する<literal>color.data</literal>を用いて
350                         
351                         曲面上で補間シェーディングが実行されます.
352                         
353                     </para>
354                     
355                 </listitem>
356                 
357             </varlistentry>
358             
359             <varlistentry>
360                 
361                 <term>LineStyle: </term>
362                 
363                 <listitem>
364                     
365                     <para>このプロパティは線の形式を定義する文字列です.
366                         
367                         このプロパティは tje オブジェクトの<literal>line_style</literal>プロパティ
368                         
369                         にリンクしています
370                         
371                         (<link linkend="polyline_properties">polyline_properties</link> または
372                         
373                         <link linkend="surface_properties">surface_properties</link>参照).
374                         
375                     </para>
376                     
377                     <para/>
378                     
379                     <informaltable border="1">
380                         
381                         <tr>
382                             
383                             <td>
384                                 
385                                 <literal>指定子</literal>
386                                 
387                             </td>
388                             
389                             <td>
390                                 
391                                 <literal>線の形式</literal>
392                                 
393                             </td>
394                             
395                         </tr>
396                         
397                         <tr>
398                             
399                             <td>
400                                 
401                                 <literal>-</literal>
402                                 
403                             </td>
404                             
405                             <td>実線 (デフォルト)</td>
406                             
407                         </tr>
408                         
409                         <tr>
410                             
411                             <td>
412                                 
413                                 <literal>--</literal>
414                                 
415                             </td>
416                             
417                             <td>破線</td>
418                             
419                         </tr>
420                         
421                         <tr>
422                             
423                             <td>
424                                 
425                                 <literal>:</literal>
426                                 
427                             </td>
428                             
429                             <td>点線</td>
430                             
431                         </tr>
432                         
433                         <tr>
434                             
435                             <td>
436                                 
437                                 <literal>-.</literal>
438                                 
439                             </td>
440                             
441                             <td>一点鎖線</td>
442                             
443                         </tr>
444                         
445                         <tr>
446                             
447                             <td>
448                                 
449                                 <literal>none</literal>
450                                 
451                             </td>
452                             
453                             <td>線を描画しない</td>
454                             
455                         </tr>
456                         
457                     </informaltable>
458                     
459                 </listitem>
460                 
461             </varlistentry>
462             
463             <varlistentry>
464                 
465                 <term>Marker または MarkStyle: </term>
466                 
467                 <listitem>
468                     
469                     <para>マーカの型を定義する文字列. 線の形式を指定せずにマーカを
470                         
471                         指定した場合,線(デフォルトでは実線モードが有効)とマーカが描画されます.
472                         
473                         このプロパティはオブジェクトの<literal>mark_style</literal>
474                         
475                         および<literal>mark_mode</literal>プロパティにリンクされています.
476                         
477                         (
478                         
479                         <link linkend="polyline_properties">polyline_properties</link>または
480                         
481                         <link linkend="surface_properties">surface_properties</link>参照).
482                         
483                     </para>
484                     
485                     <informaltable border="1">
486                         
487                         <tr>
488                             
489                             <td>
490                                 
491                                 <literal>指定子</literal>
492                                 
493                             </td>
494                             
495                             <td>
496                                 
497                                 <literal>マーカ型</literal>
498                                 
499                             </td>
500                             
501                         </tr>
502                         
503                         <tr>
504                             
505                             <td>
506                                 
507                                 <literal>+</literal>
508                                 
509                             </td>
510                             
511                             <td>+記号</td>
512                             
513                         </tr>
514                         
515                         <tr>
516                             
517                             <td>
518                                 
519                                 <literal>o</literal>
520                                 
521                             </td>
522                             
523                             <td>円</td>
524                             
525                         </tr>
526                         
527                         <tr>
528                             
529                             <td>
530                                 
531                                 <literal>*</literal>
532                                 
533                             </td>
534                             
535                             <td>アスタリスク</td>
536                             
537                         </tr>
538                         
539                         <tr>
540                             
541                             <td>
542                                 
543                                 <literal>.</literal>
544                                 
545                             </td>
546                             
547                             <td>点</td>
548                             
549                         </tr>
550                         
551                         <tr>
552                             
553                             <td>
554                                 
555                                 <literal>x</literal>
556                                 
557                             </td>
558                             
559                             <td>十字</td>
560                             
561                         </tr>
562                         
563                         <tr>
564                             
565                             <td>
566                                 
567                                 <literal>'square'</literal> または
568                                 
569                                 <literal>'s'</literal>
570                                 
571                             </td>
572                             
573                             <td>正方形</td>
574                             
575                         </tr>
576                         
577                         <tr>
578                             
579                             <td>
580                                 
581                                 <literal>'diamond'</literal> または
582                                 
583                                 <literal>'d'</literal>
584                                 
585                             </td>
586                             
587                             <td>菱形</td>
588                             
589                         </tr>
590                         
591                         <tr>
592                             
593                             <td>
594                                 
595                                 <literal>^</literal>
596                                 
597                             </td>
598                             
599                             <td>上向き三角形</td>
600                             
601                         </tr>
602                         
603                         <tr>
604                             
605                             <td>
606                                 
607                                 <literal>v</literal>
608                                 
609                             </td>
610                             
611                             <td>下向き三角形</td>
612                             
613                         </tr>
614                         
615                         <tr>
616                             
617                             <td>
618                                 
619                                 <literal>&gt;</literal>
620                                 
621                             </td>
622                             
623                             <td>右向き三角形</td>
624                             
625                         </tr>
626                         
627                         <tr>
628                             
629                             <td>
630                                 
631                                 <literal>&lt;</literal>
632                                 
633                             </td>
634                             
635                             <td>左向き三角形</td>
636                             
637                         </tr>
638                         
639                         <tr>
640                             
641                             <td>
642                                 
643                                 <literal>'pentagram'</literal>
644                                 
645                             </td>
646                             
647                             <td>星型五角形 (ペンタグラム)</td>
648                             
649                         </tr>
650                         
651                         <tr>
652                             
653                             <td>
654                                 
655                                 <literal>'none'</literal>
656                                 
657                             </td>
658                             
659                             <td>マーカなし (デフォルト)</td>
660                             
661                         </tr>
662                         
663                     </informaltable>
664                     
665                 </listitem>
666                 
667             </varlistentry>
668             
669             <varlistentry>
670                 
671                 <term>MarkerEdgeColor または MarkForeground: </term>
672                 
673                 <listitem>
674                     
675                     <para>既知の色を定義する文字列(color_list参照)または
676                         
677                         色番号を定義する<literal>1</literal>x<literal>3</literal> 
678                         
679                         (または <literal>3</literal>x<literal>1</literal>) RGBベクトル.
680                         
681                         色番号は,それぞれ赤,緑,青の彩度(0から1)に対応する <literal>R</literal>, <literal>G</literal>, 
682                         
683                         <literal>B</literal> の組で指定されます.
684                         
685                         このプロパティはオブジェクトの<literal>mark_foreground</literal>プロパティに
686                         
687                         リンクされています
688                         
689                         (<link linkend="polyline_properties">polyline_properties</link>または
690                         
691                         <link linkend="surface_properties">surface_properties</link>参照). 
692                         
693                     </para>
694                     
695                 </listitem>
696                 
697             </varlistentry>
698             
699             <varlistentry>
700                 
701                 <term>MarkerFaceColor または MarkBackground: </term>
702                 
703                 <listitem>
704                     
705                     <para>既知の色を定義する文字列(color_list参照)または
706                         
707                         <literal>1</literal>x<literal>3</literal> (または <literal>3</literal>x<literal>1</literal>) 
708                         
709                         RGBベクトル.
710                         
711                         色番号は,それぞれ赤,緑,青の彩度(0から1)に対応する <literal>R</literal>, <literal>G</literal>, 
712                         
713                         <literal>B</literal> の組で指定されます.
714                         
715                         このプロパティはオブジェクトの<literal>mark_background</literal>プロパティに
716                         
717                         リンクされています
718                         
719                         (<link linkend="polyline_properties">polyline_properties</link>または
720                         
721                         <link linkend="surface_properties">surface_properties</link>参照). 
722                         
723                     </para>
724                     
725                 </listitem>
726                 
727             </varlistentry>
728             
729             <varlistentry>
730                 
731                 <term>MarkerSize または MarkSize: </term>
732                 
733                 <listitem>
734                     
735                     <para>
736                         
737                         <literal>point</literal> ユニットのマーカの大きさを定義するスカラー値.
738                         
739                         このプロパティはオブジェクトの<literal>mark_size</literal>プロパティに
740                         
741                         リンクされ,<literal>mark_size_unit</literal>の値は<literal>"point"</literal>
742                         
743                         に設定されています
744                         
745                         (
746                         
747                         <link linkend="polyline_properties">polyline_properties</link> または
748                         
749                         <link linkend="surface_properties">surface_properties</link>参照).
750                         
751                     </para>
752                     
753                 </listitem>
754                 
755             </varlistentry>
756             
757             <varlistentry>
758                 
759                 <term>Visible: </term>
760                 
761                 <listitem>
762                     
763                     <para>
764                         
765                         文字列で, 可視モード <literal>"on"</literal> または <literal>"off"</literal>
766                         
767                         を定義します(デフォルト: <literal>"on"</literal>).
768                         
769                         このプロパティはオブジェクトの <literal>visible</literal>プロパティに
770                         
771                         リンクされています
772                         
773                         (
774                         
775                         <link linkend="polyline_properties">polyline_properties</link> または
776                         
777                         <link linkend="surface_properties">surface_properties</link>参照).
778                         
779                     </para>
780                     
781                 </listitem>
782                 
783             </varlistentry>
784             
785             <varlistentry>
786                 
787                 <term>X data: </term>
788                 
789                 <listitem>
790                     
791                     <para>
792                         
793                         実数のベクトルまたは行列で,プロット済みの全ての線または曲面に関する
794                         
795                         指定データを(再)定義します.
796                         
797                         次元について,
798                         
799                         この新しいデータは,過去に指定された<literal>X</literal>データと
800                         
801                         完全に一致する必要があることに注意してください:
802                         
803                         これはこれらのデータ行列を全て同じ次元とする必要があることを意味します.
804                         
805                         このプロパティはオブジェクトの<literal>data.x</literal>プロパティに
806                         
807                         リンクされています (
808                         
809                         <link linkend="polyline_properties">polyline_properties</link> または
810                         
811                         <link linkend="surface_properties">surface_properties</link>参照).
812                         
813                     </para>
814                     
815                 </listitem>
816                 
817             </varlistentry>
818             
819             <varlistentry>
820                 
821                 <term>Y data: </term>
822                 
823                 <listitem>
824                     
825                     <para>
826                         
827                         実数のベクトルまたは行列で,プロット済みの全ての線または曲面に関する
828                         
829                         指定データを(再)定義します.
830                         
831                         次元について,
832                         
833                         この新しいデータは,前に指定された<literal>Y</literal>データと
834                         
835                         完全に一致する必要があることに注意してください:
836                         
837                         これはこれらのデータ行列を全て同じ次元とする必要があることを意味します.
838                         
839                         このプロパティはオブジェクトの<literal>data.y</literal>プロパティに
840                         
841                         リンクされています (
842                         
843                         <link linkend="polyline_properties">polyline_properties</link> または
844                         
845                         <link linkend="surface_properties">surface_properties</link>参照).
846                         
847                     </para>
848                     
849                 </listitem>
850                 
851             </varlistentry>
852             
853             <varlistentry>
854                 
855                 <term>Z data: </term>
856                 
857                 <listitem>
858                     
859                     <para>
860                         
861                         <literal>plot</literal>と共に使用した場合は実数のベクトルまたは行列
862                         
863                         で,全てのプロット済みの線に<literal>Z</literal>を追加します.
864                         
865                     </para>
866                     
867                     <para>
868                         
869                         <literal>surf</literal>と共に使用した場合は実数行列で,
870                         
871                         全ての平面に関する指定データを再定義します.
872                         
873                         次元について,
874                         
875                         この新しいデータは前に指定された<literal>X</literal> および<literal>Y</literal>
876                         
877                         データと完全に位置する必要があります.
878                         
879                         このプロパティはオブジェクトの<literal>data.z</literal>プロパティに
880                         
881                         リンクされています (<link linkend="polyline_properties">polyline_properties</link> または
882                         
883                         <link linkend="surface_properties">surface_properties</link>参照).
884                         
885                     </para>
886                     
887                 </listitem>
888                 
889             </varlistentry>
890             
891         </variablelist>
892         
893     </refsection>
894     
895     <refsection>
896         
897         <title>例</title>
898         
899         <programlisting role="example"><![CDATA[ 
900
901 // --------------------
902
903 // With the plot command :
904
905 // --------------------
906
907 x=1:10; // Init.
908
909 plot(x,sin(x),'colo','red','linest','-.','marker','>','markeredg','cyan','markerFace','yellow','markersize',5)
910
911 clf();
912
913
914
915 // combinations' order in {PropertyName,PropertyValue} does not matter
916
917 plot(x,sin(x),'marker','p','markerfac','cyan','markersiz',10)
918
919 clf();
920
921
922
923 // combination of LineSpec and GlobalProperty shows the GlobalProperty predominance
924
925 plot(x,x.*x,'*cya--','color','gr','linestyle','-','marker','sq','markersize',6,'markforegroun','red','markbackgro',[0.2 0.5 0.6])
926
927 clf();
928
929
930
931 //multiple plots with different LineSpecs and finally some global GlobalProperty
932
933 clf();
934
935 t=0:%pi/20:2*%pi;
936
937 plot(t,sin(t),'ro-.',t,cos(t),'cya+',t,abs(sin(t)),'--mo','markstyl','diam')
938
939
940
941 // --------------------
942
943 // With the plot2d command :
944
945 // --------------------
946
947 function draw_marks(title)
948
949   a=gca();
950
951   a.title.text=title;
952
953   a.mark_size=8;
954
955   a.data_bounds=[-1.5 1.5 -1.5 1.5];
956
957
958
959   theta=(1/15)*(2*%pi)*[0:15];
960
961   plot2d(cos(theta),sin(theta));
962
963
964
965   for i=0:14 do
966
967     theta=(i/15)*(2*%pi);
968
969     plot2d(cos(theta),sin(theta),style=-i);
970
971   end
972
973 endfunction
974
975
976
977 clf();
978
979 subplot(2,2,1)
980
981 draw_marks("black foreground / white background")
982
983
984
985 subplot(2,2,2)
986
987 a=gca();
988
989 a.mark_foreground=-1;
990
991 a.mark_background=4;
992
993 draw_marks("black foreground / cyan background")
994
995
996
997 subplot(2,2,3)
998
999 a=gca();
1000
1001 a.mark_background=0;
1002
1003 draw_marks("black foreground / invisible background")
1004
1005
1006
1007 subplot(2,2,4)
1008
1009 a=gca();
1010
1011 a.mark_foreground=0;
1012
1013 a.mark_background=4;
1014
1015 draw_marks("invisible foreground / cyan background")
1016
1017
1018
1019 // --------------------
1020
1021 // With the surf command :
1022
1023 // --------------------
1024
1025
1026
1027
1028
1029 Z= [   0.0001    0.0013    0.0053   -0.0299   -0.1809   -0.2465   -0.1100   -0.0168   -0.0008   -0.0000
1030
1031     0.0005    0.0089    0.0259   -0.3673   -1.8670   -2.4736   -1.0866   -0.1602   -0.0067    0.0000
1032
1033     0.0004    0.0214    0.1739   -0.3147   -4.0919   -6.4101   -2.7589   -0.2779    0.0131    0.0020
1034
1035    -0.0088   -0.0871    0.0364    1.8559    1.4995   -2.2171   -0.2729    0.8368    0.2016    0.0130
1036
1037    -0.0308   -0.4313   -1.7334   -0.1148    3.0731    0.4444    2.6145    2.4410    0.4877    0.0301
1038
1039    -0.0336   -0.4990   -2.3552   -2.1722    0.8856   -0.0531    2.6416    2.4064    0.4771    0.0294
1040
1041    -0.0137   -0.1967   -0.8083    0.2289    3.3983    3.1955    2.4338    1.2129    0.2108    0.0125
1042
1043    -0.0014   -0.0017    0.3189    2.7414    7.1622    7.1361    3.1242    0.6633    0.0674    0.0030
1044
1045     0.0002    0.0104    0.1733    1.0852    2.6741    2.6725    1.1119    0.1973    0.0152    0.0005
1046
1047     0.0000    0.0012    0.0183    0.1099    0.2684    0.2683    0.1107    0.0190    0.0014    0.0000];
1048
1049
1050
1051 clf();
1052
1053 f=gcf();
1054
1055 f.figure_size = [610,724];
1056
1057 subplot(211)
1058
1059 surf(Z,'facecol','interp','ydat',101:110,'edgecol','mage')
1060
1061 subplot(212)
1062
1063 surf(Z,'edgeco','b','marker','d','markersiz',9,'markerfac','k','xdata',-50:-41)
1064
1065  ]]></programlisting>
1066         
1067     </refsection>
1068     
1069     <refsection role="see also">
1070         
1071         <title>参照</title>
1072         
1073         <simplelist type="inline">
1074             
1075             <member>
1076                 
1077                 <link linkend="LineSpec">LineSpec</link>
1078                 
1079             </member>
1080             
1081             <member>
1082                 
1083                 <link linkend="plot">plot</link>
1084                 
1085             </member>
1086             
1087             <member>
1088                 
1089                 <link linkend="surf">surf</link>
1090                 
1091             </member>
1092             
1093             <member>
1094                 
1095                 <link linkend="clf">clf</link>
1096                 
1097             </member>
1098             
1099             <member>
1100                 
1101                 <link linkend="polyline_properties">polyline_properties</link>
1102                 
1103             </member>
1104             
1105             <member>
1106                 
1107                 <link linkend="surface_properties">surface_properties</link>
1108                 
1109             </member>
1110             
1111         </simplelist>
1112         
1113     </refsection>
1114     
1115 </refentry>
1116