Python matplotlibを使って学ぶ統計処理 正規分布 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(アニメーションマーカー)
(アニメーションマーカー)
147行: 147行:
  
 
=== アニメーションマーカー ===  
 
=== アニメーションマーカー ===  
 
$
 
  
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
 
<script>
 
<script>
$(window).scroll(function (){
+
&#36;<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>window<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>.scroll<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>function <span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span><span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>{
&#36;(".marker-animation").each(function(){
+
&#36;<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>".marker-animation"<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>.each<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>function<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span><span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>{
  var position = &#36;(this).offset().top; //ページの一番上から要素までの距離を取得
+
  var position = &#36;<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>this<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>.offset<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span><span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>.top; //ページの一番上から要素までの距離を取得
  var scroll = &#36;(window).scrollTop(); //スクロールの位置を取得
+
  var scroll = &#36;<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>window<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>.scrollTop<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span><span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>; //スクロールの位置を取得
  var windowHeight = &#36;(window).height(); //ウインドウの高さを取得
+
  var windowHeight = &#36;<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>window<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>.height<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span><span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>; //ウインドウの高さを取得
  if (scroll &gt; position - windowHeight){ //スクロール位置が要素の位置を過ぎたとき
+
  if <span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>scroll &gt; position - windowHeight<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>{ //スクロール位置が要素の位置を過ぎたとき
    &#36;(this).addClass('active'); //クラス「active」を与える
+
    &#36;<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>this<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>.addClass<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>'active'<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>; //クラス「active」を与える
 
  }
 
  }
});
+
}<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>;
});
+
}<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>;
 
&lt;/script&gt;
 
&lt;/script&gt;
 
&lt;style type= "text/css"&gt;
 
&lt;style type= "text/css"&gt;
170行: 168行:
  
 
.marker-animation {
 
.marker-animation {
     background-image: -webkit-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
+
     background-image: -webkit-linear-gradient<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>left, transparent 50%, rgb<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>255,250,153<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span> 50%<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>;
     background-image: -moz-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
+
     background-image: -moz-linear-gradient<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>left, transparent 50%, rgb<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>255,250,153<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span> 50%<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>;
     background-image: -ms-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
+
     background-image: -ms-linear-gradient<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>left, transparent 50%, rgb<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>255,250,153<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span> 50%<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>;
     background-image: -o-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
+
     background-image: -o-linear-gradient<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>left, transparent 50%, rgb<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>255,250,153<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span> 50%<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>;
     background-image: linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
+
     background-image: linear-gradient<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>left, transparent 50%, rgb<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">(</span>255,250,153<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span> 50%<span style = "'Meiryo', 'ヒラギノ角ゴ Pro W3 ', 'MS Pゴシック', ' Osaka',  sans-serif; font-style: normal; !important">)</span>;
 
     background-repeat: repeat-x;
 
     background-repeat: repeat-x;
 
     background-size: 200% .8em;
 
     background-size: 200% .8em;
183行: 181行:
  
 
&lt;/style&gt;
 
&lt;/style&gt;
 +
 +
 +
  
  

2020年4月16日 (木) 00:00時点における版



個人用ツール
名前空間

変種
操作
案内
ツールボックス