- Timestamp:
- 07/21/06 14:47:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/PLOTS/DESSINE/plt1d.html
r138 r142 696 696 </div> 697 697 698 <div id="file_comments"></div> 698 <div id="file_comments"> 699 Trace 1d graphes: x,y,z (or t but in this case, we recall directly pltt) 700 </div> 699 701 700 702 … … 711 713 <div class="routine_details" id="_plt1d"> 712 714 713 <h2><a class="top" href="#container">top</a>plt1d </h2> 715 <h2><a class="top" href="#container">top</a>plt1d <span class="categories"> 716 Graphics 717 </span></h2> 714 718 715 719 <p class="header"> 716 plt1d<span class="result">, <a href="#_plt1d_param_tab">tab</a>, <a href="#_plt1d_param_ giventype">giventype</a>, <a href="#_plt1d_param_givenmin">givenmin</a>, <a href="#_plt1d_param_givenmax">givenmax</a></span>, <a href="#_plt1d_keyword_BOXZOOM">BOXZOOM</a>=<span class="result">BOXZOOM</span>, <a href="#_plt1d_keyword_SIN">SIN</a>=<span class="result">SIN</span>, <a href="#_plt1d_keyword_MININ">MININ</a>=<span class="result">MININ</span>, <a href="#_plt1d_keyword_MAXIN">MAXIN</a>=<span class="result">MAXIN</span>, <a href="#_plt1d_keyword_TYPEIN">TYPEIN</a>=<span class="result">TYPEIN</span>, <a href="#_plt1d_keyword_ENDPOINTS">ENDPOINTS</a>=<span class="result">ENDPOINTS</span>, <a href="#_plt1d_keyword_COL1D">COL1D</a>=<span class="result">COL1D</span>, <a href="#_plt1d_keyword_STY1D">STY1D</a>=<span class="result">STY1D</span>, <a href="#_plt1d_keyword_OV1D">OV1D</a>=<span class="result">OV1D</span>, <a href="#_plt1d_keyword_X">X</a>=<span class="result">X</span>, <a href="#_plt1d_keyword_Y">Y</a>=<span class="result">Y</span>, <a href="#_plt1d_keyword_Z">Z</a>=<span class="result">Z</span>, <a href="#_plt1d_keyword_TT">TT</a>=<span class="result">TT</span>, <a href="#_plt1d_keyword_REVERSE_X">REVERSE_X</a>=<span class="result">REVERSE_X</span>, <a href="#_plt1d_keyword_REVERSE_Y">REVERSE_Y</a>=<span class="result">REVERSE_Y</span>, <a href="#_plt1d_keyword_SWITCHXY">SWITCHXY</a>=<span class="result">SWITCHXY</span>, <a href="#_plt1d_keyword__extra">_extra</a>=<span class="result">_extra</span></p>720 plt1d<span class="result">, <a href="#_plt1d_param_tab">tab</a>, <a href="#_plt1d_param_param2">param2</a>[, <a href="#_plt1d_param_param3">param3</a>][, <a href="#_plt1d_param_param4">param4</a>]</span>, <a href="#_plt1d_keyword_BOXZOOM">BOXZOOM</a>=<span class="result">BOXZOOM</span>, <a href="#_plt1d_keyword_SIN">SIN</a>=<span class="result">SIN</span>, <a href="#_plt1d_keyword_MININ">MININ</a>=<span class="result">MININ</span>, <a href="#_plt1d_keyword_MAXIN">MAXIN</a>=<span class="result">MAXIN</span>, <a href="#_plt1d_keyword_TYPEIN">TYPEIN</a>=<span class="result">TYPEIN</span>, <a href="#_plt1d_keyword_ENDPOINTS">ENDPOINTS</a>=<span class="result">ENDPOINTS</span>, <a href="#_plt1d_keyword_COL1D">COL1D</a>=<span class="result">COL1D</span>, <a href="#_plt1d_keyword_STY1D">STY1D</a>=<span class="result">STY1D</span>, <a href="#_plt1d_keyword_OV1D">OV1D</a>=<span class="result">OV1D</span>, <a href="#_plt1d_keyword_X">X</a>=<span class="result">X</span>, <a href="#_plt1d_keyword_Y">Y</a>=<span class="result">Y</span>, <a href="#_plt1d_keyword_Z">Z</a>=<span class="result">Z</span>, <a href="#_plt1d_keyword_TT">TT</a>=<span class="result">TT</span>, <a href="#_plt1d_keyword_REVERSE_X">REVERSE_X</a>=<span class="result">REVERSE_X</span>, <a href="#_plt1d_keyword_REVERSE_Y">REVERSE_Y</a>=<span class="result">REVERSE_Y</span>, <a href="#_plt1d_keyword_SWITCHXY">SWITCHXY</a>=<span class="result">SWITCHXY</span>, <a href="#_plt1d_keyword__extra">_extra</a>=<span class="result">_extra</span></p> 717 721 718 722 <div class="comments"> 719 NAME: 720 PLT1D 721 722 PURPOSE: 723 trace des graphes 1d 724 725 CATEGORY: 726 Graphics, trace des graphes 1d: x,y,z (ou t mais ds ce cas, on 727 rapelle directement pltt) 728 729 CALLING SEQUENCE: 730 plt1d, champ,type [,min[, max]] 731 732 INPUTS: 733 champ: le champ dont on veut faire le hovmoller champ 734 peut etre de 2 types: 735 1) un tableu qui peut etre: 736 * 2d, 3d ou 4d: tableau xy, xyz. xyt ou xyzt. dans ce cas, 737 le tableau va passer dans moyenne ou grossemoyenne pour 738 etre moyennee et devenir un tableau 1 1d. 739 * 1d:type doit qd meme etre specifie pour qu''on sache de 740 quel trace il sagit. Pour avoir une legende correcte, 741 respecifier la zone d''extraction via BOXZOOM 742 2) une structure repondant aux critaires specifies par 743 litchamp.pro. cf. IDL> xhelp,'litchamp'. Le tableau contennu ds 744 la structure repondant aux criteres du cas 1) cf. ci-dessus 745 746 TYPE: un string: type de plot 1d que l''on veut faire: 747 trace suivant: 'x','y','z' 748 749 ces arguments ne sont pas obligatoires: 750 751 MAX: valeur maximum que l'on veut prendre en compte dans le trace 752 du plot. Par defaut on prend le max de tableau (sur les pts mer) 753 754 MIN: valeur minimum que l'on veut prendre en compte dans le trace 755 du plot. Par defaut on prend le min de tableau (sur les pts mer) 756 757 KEYWORD PARAMETERS: 758 759 BOXZOOM:vecteur indiquant la zone geographique (3d) sur laquelle doit 760 etre fait l''extraction du champ pour faire le hovmoeller. 761 Si BOXZOOM a : 762 1 element : l''extraction est faite sur [lon1, lon2, lat1, lat2, 0.,boxzoom[0]] 763 2 elements: l''extraction est faite sur [lon1, lon2, lat1, lat2, boxzoom[0],boxzoom[1]] 764 4 elements: l''extraction est faite sur [Boxzoom, vert1, vert2] 765 5 elements: l''extraction est faite sur [Boxzoom[0:3], 0, Boxzoom[4]] 766 6 elements: l''extraction est faite sur Boxzoom 767 768 Ou lon1, lon2,lat1,lat2,vert1,vert2 sont les variables globales 769 definies lors du dernier domdef! 770 771 COL1d: --OBSOLETE--numero de la couleur qd on fait un trace 1d 772 par defaut, 0. il faut mieux utiliser le mot cle COLOR utilise 773 par plot 774 775 ENDPOINTS: mot clef specifiant que l'on veut faire une coupe 776 verticale en diagonale. les coordonnees des extremites de 777 celle-ci sont alors definies les 4 elements du vecteur 778 ENDPOINTS: [x1,y1,x2,y2] qui sont les coordonnees 779 780 /LANDSCAPE: oblige la feuille ou le fenetre a l''ecran a etre 781 en position "allongee". 782 783 MAXIN: permet de specifier la valeur maximum que l''on veut 784 prendre en compte dans le trace des contours a l''aide d''un 785 mot cle plutot que par l''argument max. Si l''argument et le 786 mot cle sont specifies en meme temps, c''est la valeur 787 specifiee par le mot cle qui est retenue. 788 789 MININ: permet de specifier la valeur minimum que l''on veut 790 prendre en compte dans le trace des contours a l''aide d''un 791 mot cle plutot que par l''argument min. Si l''argument et le 792 mot cle sont specifies en meme temps, c''est la valeur 793 specifiee par le mot cle qui est retenue. 794 795 /NOERASE: activer pour faire un dessin a l''ecran sans creer 796 une nouvelle fenetre. Rq: activer ds le cas d''un Postscript de 797 plusieurs traces de type 't' pour ne pas faire un Postscript de 798 plusieurs pages 799 800 /OV1D:permet de surimprimer un courbe 1d a un precedent trace 1d. 801 802 PETITDESSIN: vecteur de 3 ou 4 elements, applique pour faire un 803 dessin sur une petite portion de feuille ou d''ecran. il delimite 804 la zone ds laquelle va etre fait le dessin 805 si il a 4 elements: 806 il est alors constitute des coordonnees -exprime en cm reperes par 807 rapport au coin en bas a gauche de la feuille ou de la fenetre 808 (en portrait comme en landscape)- du coin en bas a 809 gauche et du coin en haut a droite de la zone de dessin. 810 si il a 3 elements: 811 Ds ce cas, on divise la fenetre ou l''ecran en PETITDESSIN[0] 812 colonnes, en PETITDESSIN[1] lignes le dessin se faisant ds la 813 case numero PETITDESSIN[2].La numerotation commencant en haut 814 a gauche par le numero 1 et suivant apres dans le sens de 815 l''ecriture. 816 Par defaut on fait un dessin occupant la plus grande place possible 817 tout en concervant le rapport d''aspect (sauf qd REMPLI est active) 818 819 /PORTRAIT: oblige la feuille ou la fenetre a etre en position "debout". 820 821 /POST: faire une sortie postscript. Ne marche que si on fait 822 un seul dessin sur la feuille. Si on fait plusieurs dessins,</div> 723 </div> 823 724 824 725 … … 829 730 830 731 <h4 id="_plt1d_param_tab">tab 831 832 833 834 835 836 837 838 839 </h4> 840 841 <div class="comments"></div> 842 843 <h4 id="_plt1d_param_giventype">giventype 844 845 846 847 848 849 850 851 852 </h4> 853 854 <div class="comments"></div> 855 856 <h4 id="_plt1d_param_givenmin">givenmin 857 858 859 860 861 862 863 864 865 </h4> 866 867 <div class="comments"></div> 868 869 <h4 id="_plt1d_param_givenmax">givenmax 870 871 872 873 874 875 876 877 878 </h4> 879 880 <div class="comments"></div> 732 <span class="attr">in</span> 733 734 735 <span class="attr">required</span> 736 737 738 739 740 </h4> 741 742 <div class="comments"> 743 The field whose we want to make the hovmoller map can be 2 kind of thing: 744 1) An array which can be: 745 * 2d, 3d or 4d: array xy, xyz. xyt or xyzt. In this case, the array will pass 746 in moyenne or grossemoyenne to be averaged and becomme an array 1d. 747 * 1d:Nevertheless, the type must be specified in order to we know which trace 748 it is about. To have a correct caption, respecify the xctraction zone via BOXZOOM. 749 2) a structure respecting all criterions specified by litchamp.pro. 750 See IDL> xhelp,'litchamp'. The array contained in the structure 751 respecting criterions of case 1) 752 </div> 753 754 <h4 id="_plt1d_param_param2">param2 755 <span class="attr">in</span> 756 757 758 <span class="attr">required</span> 759 760 761 762 763 </h4> 764 765 <div class="comments"> 766 Min value we want to consider in the contour's drawing. 767 Note: could also be the type of plot:'x','y','z' 768 </div> 769 770 <h4 id="_plt1d_param_param3">param3 771 <span class="attr">in</span> 772 773 <span class="attr">optional</span> 774 775 776 777 <span class="attr">default:</span> <span class="value">min/max of tab (on ocean points)</span> 778 779 </h4> 780 781 <div class="comments"> 782 Max value we want to consider in the contour's drawing. 783 Note: if param2 is defined as 'x','y','z' then param3 is used to define the min (see param2) 784 </div> 785 786 <h4 id="_plt1d_param_param4">param4 787 <span class="attr">in</span> 788 789 <span class="attr">optional</span> 790 791 792 793 <span class="attr">default:</span> <span class="value">max of tab (on ocean points)</span> 794 795 </h4> 796 797 <div class="comments"> 798 Type of plot (can be only 'x','y','z' for plt1d). 799 Note: if param2 is defined as 'xy' then param4 is used to define the max (see param3) 800 </div> 881 801 882 802 … … 898 818 </h4> 899 819 820 <div class="comments"> 821 Vector indicating the geographique zone (3d) on which the extraction of the field must 822 be done to do the hovmoeller. 823 If BOXZOOM has : 824 1 element : The extraction is made on [lon1, lon2, lat1, lat2, 0.,boxzoom[0]] 825 2 elements: The extraction is made on [lon1, lon2, lat1, lat2, boxzoom[0],boxzoom[1]] 826 4 elements: The extraction is made on [Boxzoom, vert1, vert2] 827 5 elements: The extraction is made on [Boxzoom[0:3], 0, Boxzoom[4]] 828 6 elements: The extraction is made on Boxzoom 829 830 Where lon1, lon2,lat1,lat2,vert1,vert2 are global variables defined at the last domdef! 831 </div> 832 833 <h4 id="_plt1d_keyword_SIN">SIN 834 835 836 837 838 839 840 841 842 </h4> 843 844 <div class="comments"> 845 Activate this keyword if we want the x axis to be traced in sinus of the 846 latitude when we make a drawing f(y) 847 </div> 848 849 <h4 id="_plt1d_keyword_MININ">MININ 850 851 852 853 854 855 856 857 858 </h4> 859 860 <div class="comments"> 861 Allows to specify the min value we want to consider in the drawing of contour 862 helping by the keyword instead of the argument min. If the argument and the keyword are 863 specified in the same time, it is the value specified by the keyword which is retained. 864 </div> 865 866 <h4 id="_plt1d_keyword_MAXIN">MAXIN 867 868 869 870 871 872 873 874 875 </h4> 876 877 <div class="comments"> 878 Allows to specify the max value we want to consider in the drawing of contour 879 helping by the keyword instead of the argument max. If the argument and the keyword are 880 specified in the same time, it is the value specified by the keyword which is retained. 881 </div> 882 883 <h4 id="_plt1d_keyword_TYPEIN">TYPEIN 884 885 886 887 888 889 890 891 892 </h4> 893 894 <div class="comments"> 895 allows to specify the type of hovmoller we want to do 896 'xt','yt','zt','t' 897 with help of a keyword rather than the argument type. If the argument andthe 898 keyword are specified in the same time, it is the value specified by the 899 keyword which is retained. 900 </div> 901 902 <h4 id="_plt1d_keyword_ENDPOINTS">ENDPOINTS 903 904 905 906 907 908 909 910 911 </h4> 912 913 <div class="comments"> 914 keyword specifing that we want to make a vertical cut in diagonal. Then coorinated of extremities 915 of these one are difined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 916 coordinates. 917 </div> 918 919 <h4 id="_plt1d_keyword_COL1D">COL1D 920 921 922 923 924 925 926 927 928 </h4> 929 930 <div class="comments"> 931 --OBSOLETE--Color number when we make a trace 1d by default, 0.It is better to use the 932 keyword COLOR used by plot. 933 </div> 934 935 <h4 id="_plt1d_keyword_STY1D">STY1D 936 937 938 939 940 941 942 943 944 </h4> 945 946 <div class="comments"> 947 --OBSOLETE-- 948 Number of the style used when we make a 1d drawing. We should better use the 949 keyword LINESTYLE which is tho one of the plot. Beware, this keyword is still 950 useful if we want to d bars instead of curves, put sty1d='bar' 951 </div> 952 953 <h4 id="_plt1d_keyword_OV1D">OV1D 954 955 956 957 958 959 960 961 962 </h4> 963 964 <div class="comments"> 965 Allow the double exposure of an 1d curve to a precedent 1d trace. 966 </div> 967 968 <h4 id="_plt1d_keyword_X">X 969 970 971 972 973 974 975 976 977 </h4> 978 900 979 <div class="comments"></div> 901 980 902 <h4 id="_plt1d_keyword_ SIN">SIN 981 <h4 id="_plt1d_keyword_Y">Y 903 982 904 983 … … 913 992 <div class="comments"></div> 914 993 915 <h4 id="_plt1d_keyword_ MININ">MININ 994 <h4 id="_plt1d_keyword_Z">Z 916 995 917 996 … … 926 1005 <div class="comments"></div> 927 1006 928 <h4 id="_plt1d_keyword_ MAXIN">MAXIN 1007 <h4 id="_plt1d_keyword_TT">TT 929 1008 930 1009 … … 939 1018 <div class="comments"></div> 940 1019 941 <h4 id="_plt1d_keyword_TYPEIN">TYPEIN 1020 <h4 id="_plt1d_keyword_REVERSE_X">REVERSE_X 1021 1022 1023 1024 1025 1026 1027 1028 1029 </h4> 1030 1031 <div class="comments"> 1032 To invert the x axis (so as the drawing) 1033 </div> 1034 1035 <h4 id="_plt1d_keyword_REVERSE_Y">REVERSE_Y 1036 1037 1038 1039 1040 1041 1042 1043 1044 </h4> 1045 1046 <div class="comments"> 1047 To invert the y axis (so as the drawing) 1048 </div> 1049 1050 <h4 id="_plt1d_keyword_SWITCHXY">SWITCHXY 942 1051 943 1052 … … 952 1061 <div class="comments"></div> 953 1062 954 <h4 id="_plt1d_keyword_ENDPOINTS">ENDPOINTS 955 956 957 958 959 960 961 962 963 </h4>964 965 <div class="comments"></div>966 967 <h4 id="_plt1d_keyword_COL1D">COL1D 968 969 970 971 972 973 974 975 976 </h4>977 978 <div class="comments"></div>979 980 <h4 id="_plt1d_keyword_STY1D">STY1D 981 982 983 984 985 986 987 988 989 </h4>990 991 <div class="comments"></div>992 993 <h4 id="_plt1d_keyword_OV1D">OV1D 994 995 996 997 998 999 1000 1001 1002 </h4>1003 1004 <div class="comments"></div>1005 1006 <h4 id="_plt1d_keyword_X">X 1007 1008 1009 1010 1011 1012 1013 1014 1015 </h4>1016 1017 <div class="comments"></div>1018 1019 <h4 id="_plt1d_keyword_Y">Y 1020 1021 1022 1023 1024 1025 1026 1027 1028 </h4>1029 1030 <div class="comments"></div>1031 1032 <h4 id="_plt1d_keyword_Z">Z 1033 1034 1035 1036 1037 1038 1039 1040 1041 </h4>1042 1043 <div class="comments"></div>1044 1045 <h4 id="_plt1d_keyword_TT">TT 1046 1047 1048 1049 1050 1051 1052 1053 1054 </h4>1055 1056 <div class="comments"></div>1057 1058 <h4 id="_plt1d_keyword_REVERSE_X">REVERSE_X 1059 1060 1061 1062 1063 1064 1065 1066 1067 </h4>1068 1069 <div class="comments"></div>1070 1071 <h4 id="_plt1d_keyword_REVERSE_Y">REVERSE_Y 1072 1073 1074 1075 1076 1077 1078 1079 1080 </h4>1081 1082 <div class="comments"></div>1083 1084 <h4 id="_plt1d_keyword_SWITCHXY">SWITCHXY 1085 1086 1087 1088 1089 1090 1091 1092 1093 </h4>1094 1095 <div class="comments"></div>1096 1097 1063 <h4 id="_plt1d_keyword__extra">_extra 1098 1064 … … 1106 1072 </h4> 1107 1073 1108 <div class="comments"></div> 1109 1110 1111 1112 1113 1114 1115 1116 1074 <div class="comments"> 1075 used to pass your keywords 1076 </div> 1077 1078 1079 1080 1081 <h3>Version history</h3> 1082 1083 <h4>Version</h4><div class="preformat"> 1084 $Id$ 1085 </div> 1086 <h4>History</h4><div class="preformat"> 1087 creation 24/6/99 Eric Guilyardi 1088 (a partir routine pltt de Sebastien Masson)</div> 1117 1089 1118 1090
Note: See TracChangeset
for help on using the changeset viewer.