How to ask to attach the plots vertically in the given code?

I use this code

{P1 = RegionPlot[0 <= Cos[y x] <= 1/2, {y, 0, 3}, {x, 0, 5},     PlotStyle -> LightBlue,     FrameLabel -> {{Style[Rotate["F", 270 Degree], 15],        None}, {Style["y", 15], None}}, BaseStyle -> 15],   P2 = RegionPlot[0 <= Cos[-y x] <= 1/2, {y, 0, 3}, {x, 0, -5},     PlotStyle -> LightBlue,     FrameLabel -> {{Style[Rotate["G", 270 Degree], 15],        None}, {Style["y", 15], None}}, BaseStyle -> 15]}  

and the result is

enter image description here

How can I ask Mathematica to attach the two plots vertically as follows

enter image description here

My (send mail function WordPress) its made for salesstaus, has stop working after an update, maybe some code is outdatet

//send mail to owner if status set to 'Job Dispatched' if($  _POST['new_status'] == 10){     $  owner_email = get_option('purch_log_email');     $  result = $  wpdb->get_results('select wsf1.value as firstname                                      , wsf2.value as lastname                                     , wsf3.value as email                                     from XXXX2_wpsc_purchase_logs  wpl                                         left join XXXX2_wpsc_submited_form_data wsf1 ON wsf1.log_id = wpl.id AND wsf1.form_id = 2                                         left join XXXX2_wpsc_submited_form_data wsf2 ON wsf2.log_id = wpl.id AND wsf2.form_id = 3                                         left join XXXX2_wpsc_submited_form_data wsf3 ON wsf3.log_id = wpl.id AND wsf3.form_id = 9                                     where wpl.id = "'.$  _POST['id'].'"');         $  message    =   '<script type="application/json+trustpilot"> 

{‘ ."\n" ."\n" .’"recipientEmail": ‘.’"’.$ result[0]->email.’"’."," ."\n" ."\n" .’"recipientName": ‘.’"’.$ result[0]->firstname."".$ result[0]->lastname.’"’."," ."\n" ."\n" .’"referenceId": ‘.’"’.$ _POST[‘id’].’"’."," ."\n" ."\n" .’ }

‘;

    $  from       = "mysite.dk <info@mysite.dk>";     $  to         = $  owner_email;     $  subject    = "Trust Pilot"; 

// // $ headers = "From:" . $ from; $ headers = "From: " . $ from . "\r\n"; $ headers.= "Content-Type: text/plain;charset=utf-8\r\n";

    //wp_mail($  owner_email, 'New Dispatched Job', $  message);     

// Trust-Pilot

// mail(‘xxxxx@xxxxxx.trustpilot.dk’, $ subject, $ message, $ headers); mail(‘XXX@adr.dk’, $ subject, $ message, $ headers); }

I do not understand the code version of time based sprite animation?

I’m Universo and for the longest time had coding issues around the concept of time-based sprite animation basically, do not know how to implement it and any code or explanation simple or complex that I’ve found has been extremely confusing to me and was hoping to have a kind person walk me through the code step by step, explaining exactly how this is implemented correctly.

Here’s what, I believe to know about the concept and or idea for time-based sprite animation it is to construct a delay or halt of some code statement using time of some kind in milliseconds with a collection of moving images and or sprites however any attempts from the tutorial’s or my own brain have resulted in inaccurate various speed sprite animations and not the consistent stable speed, Id appreciate and be grateful for here’s some code to show my progress and perhaps help you understand my position in this mess baring in mind, I prefer my code be as extremely simple and speedy as possible within the limitations, of course:

JavaScript with HTML5 Canvas

window.onload = function () {      var canvas = document.getElementById("canvas");      var ctx = canvas.getContext("2d");      var FrameSize = 120; //120 pixels     var FrameNumber = 0; //obvious     var img = new Image();     img.src = 'sprite_ani.png';     var last = 0; // no idea         function Render() {        ctx.clearRect(0,0 ,640,480);       now = performance.now();       delta = now - last; // last is 0, how does this work?       last = now; // last is now, why?        if(delta > 20 //what does this value represent) {          FrameNumber += FrameNumber + 1;          delta = 20;       }                 if(FrameNumber>=4){               FrameNumber = 0;       }          ctx.drawImage(img,FrameSize*FrameNumber,0,120,120,0,0,120,120);          window.requestAnimationFrame(Render);     }     window.requestAnimationFrame(Render);    }     

As you can see, it’s extremely simple yet, I’m still struggling to not only understand it but extremely simply implement it, I’m not a fan of over-complicated coding hence why I ditched c++ ages ago.

Could someone in extremely simple english guide me through time-based sprite animation in the context of JavaScript preferably, Id also really appreciate various time-based sprite animation methods being explained too in extremely simple terms but not holding out, I thank you for reading this far.

Analytics Setup with G-Tag Manager Tracking Code Missing [closed]

Analytics Setup with G-Tag Manager Tracking Code Missing 1 Reply Dear Team, I have successfully setup G-Tag Manager, code placed in my site header & body. Now I want to setup G-Analytics & G-Ads conversion Setup. So I went on G-Analytics>Opened Account>Create a property. But after creating property MEASUREMENT ID & Stream Id is only showing. While setup G-Tags there is asking for "Tracking ID " But everywhere showing me Just Measurement, Stream & Property Id. Nothing I have found Tracking ID that starts with "UA" as G-tag suggesting to enter. Earlier I was setup using Global Code directly placing in the HEader & avoided G-Tag. Please help me to Find Tracking Code- start with G-tag & analytics setup.https://printerdriverfreeepsonrestter.blogspot.com/ Details Code Implementation enter image description here

Making a notebook unsavable, so that I don’t accidentally mess up the code

I have an algorithm in a notebook that I don’t want to change. I used it regularly. I’m afraid I might accidentally modify a parameter. I’d like the notebook to be executable, perhaps editable, but permanently unsaveable. I’ve tried to accomplish this byHowev Preferences>Advanced>OptionsInspector>NotebookOptions>FileOptions>Savable->False. However, it appears that this setting is lost when I quit Mathematica. Is there a way to make it permanent>

How to change color of the points and remove the joined line in the given code?

I use this code

{data1, data2} = Transpose[Table[{2 n, 3 n + 100}, {n, 20}]]; a = ListPlot[{data1, data2}, Joined -> True,    PlotStyle -> {Directive[Red, Thickness[Scaled[10^-2]]],      Directive[Blue, Thickness[Scaled[10^-2]]]}, Mesh -> All,    MeshStyle -> Directive[PointSize[Large], Red],   ClippingStyle -> False] 

and I get this picture

enter image description here

Now, I have two questions:

  1. How can I ask Mathematica to change the color (red to blue) and shape (circle to diamond) of the plotmarker in the upper curve?
  2. How can I remove the joined line for the upper curve?

use my custom code in woocommerce product image

I want to use my custom code in woocommerce products gallery image , I have done that before for a simple gallery but this time my code is little more professional and i want use the tag in woocommerce products gallery , here is the code:

<div class="product-gallery">                             <span class="badge">Offer</span>                             <div class="product-carousel owl-carousel">                                 <div class="item">                                     <a class="gallery-item" href="./assets/img/single-product/thumbnail-1.jpg"                                         data-fancybox="gallery1" data-hash="one">                                         <img src="./assets/img/single-product/thumbnail-1.jpg" alt="Product">                                     </a>                                 </div>                                 <div class="item">                                     <a class="gallery-item" href="./assets/img/single-product/thumbnail-2.jpg"                                         data-fancybox="gallery1" data-hash="two">                                         <img src="./assets/img/single-product/thumbnail-2.jpg" alt="Product">                                     </a>                                 </div>                                 <div class="item">                                     <a class="gallery-item" href="./assets/img/single-product/thumbnail-3.jpg"                                         data-fancybox="gallery1" data-hash="three">                                         <img src="./assets/img/single-product/thumbnail-3.jpg" alt="Product">                                     </a>                                 </div>                                 <div class="item">                                     <a class="gallery-item" href="./assets/img/single-product/thumbnail-4.jpg"                                         data-fancybox="gallery1" data-hash="four">                                         <img src="./assets/img/single-product/thumbnail-4.jpg" alt="Product">                                     </a>                                 </div>                             </div>                             <ul class="product-thumbnails">                                 <li class="active">                                     <a href="#one">                                         <img src="./assets/img/single-product/thumbnail-1.jpg" alt="Product">                                     </a>                                 </li>                                 <li>                                     <a href="#two">                                         <img src="./assets/img/single-product/thumbnail-2.jpg" alt="Product">                                     </a>                                 </li>                                 <li>                                     <a href="#three">                                         <img src="./assets/img/single-product/thumbnail-3.jpg" alt="Product">                                     </a>                                 </li>                                 <li>                                     <a href="#four">                                         <img src="./assets/img/single-product/thumbnail-4.jpg" alt="Product">                                     </a>                                 </li>                                 <li>                                     <a class="navi-link text-sm" href="./assets/video/download.mp4" data-fancybox                                         data-width="960" data-height="640">                                         <i class="mdi mdi-video text-lg d-block mb-1"></i>                                     </a>                                 </li>                             </ul>                         </div> 

How can I avoid redundancies when I have multiple distinct Roblox tools with clientside code?

In Roblox, I have two distinct tools with identical clientside code. The serverside code determines their difference to behave differently. However, with identical clientside code, whenever I change one, I have to change the other, and it’s redundant in the game and also tedious. How can I avoid redundancies when I have two nearly identical but distinct tools with identical clientside code? Basically, I have one serverside script to handle the remote events, in ServerScriptService, and two tools, and it happens that they both invoke the same serverscript and are otherwise identical. How can I avoid redundancies?