当前位置: 首页 > news >正文

[Latex] Riemann 问题中的激波,接触间断,膨胀波的 Tikz 绘图

Latex 代码

\begin{figure}\begin{subfigure}[b]{0.32\textwidth}\centering\resizebox{\linewidth}{!}{\begin{tikzpicture}\coordinate (o) at (0,0);\coordinate (Si) at (2.5,2.5);\coordinate (x) at (1,0);\draw[->] (0,0) -- (3,0) node[right] {$x$};\draw[->] (0,0) -- (0,3) node[above] {$t$};\draw[-] (o) -- (Si) node[right] {$S_i$};\draw[->] (0.5,2) -- (2,2.3) node[midway, above] {$U_L$};\draw[->] (2,0.5) -- (2.3,2) node[midway, right] {$U_R$};\node[below left] {$o$};\end{tikzpicture}}\caption{shock wave}\label{fig:shock_wave_1}\end{subfigure}\begin{subfigure}[b]{0.32\textwidth}\centering\resizebox{\linewidth}{!}{\begin{tikzpicture}\coordinate (o) at (0,0);\coordinate (Si) at (2.5,2.5);\coordinate (x) at (1,0);\draw[->] (0,0) -- (3,0) node[right] {$x$};\draw[->] (0,0) -- (0,3) node[above] {$t$};\draw[dashed] (o) -- (Si) node[right] {$S_i$};\draw[->] (0.7,1.5) -- (1.7,2.5) node[midway, left] {$U_L$};\draw[->] (1.5,0.7) -- (2.5,1.7) node[midway, right] {$U_R$};\node[below left] {$o$};\end{tikzpicture}}\caption{contact discontinuity}\label{fig: contact_discontinuity_1}\end{subfigure}\begin{subfigure}[b]{0.32\textwidth}\centering\resizebox{\linewidth}{!}{\begin{tikzpicture}\coordinate (o) at (0,0);\coordinate (Si1) at (1.8,2.7);\coordinate (Si2) at (2.2,2.7);\coordinate (Si3) at (2.5,2.5);\coordinate (Si4) at (2.7,2.2);\coordinate (Si5) at (2.7,1.8);\coordinate (x) at (1,0);\draw[->] (0,0) -- (3,0) node[right] {$x$};\draw[->] (0,0) -- (0,3) node[above] {$t$};\draw[-] (o) -- (Si1) node[right] {};\draw[-] (o) -- (Si2) node[right] {};\draw[-] (o) -- (Si3) node[right] {};\draw[-] (o) -- (Si4) node[right] {};\draw[-] (o) -- (Si5) node[right] {};\draw[->] (0.5,1.5) -- (1.4,2.85) node[midway, left] {$U_L$};\draw[->] (1.5,0.5) -- (2.85,1.4) node[midway, right] {$U_R$};\node[below left] {$o$};\end{tikzpicture}}\caption{rarefaction wave}\label{fig:rarefaction_wave_1}\end{subfigure}\caption{Wave of Riemann problem}\label{fig:wave_of_riemann. $S_i$ is wave speed, $U_L,U_R$ are initial data states connected by a single wave.}
\end{figure}

输出:

在这里插入图片描述

绘图参考:

《Riemann Solvers and Numerical Methods for Fluid Dynamics》P84

相关文章:

  • 三元表达式原理及例子js
  • OpenCV [c++](图像处理基础示例小程序汇总)
  • 使用new Vue()的时候发生了什么?
  • 案例015:Java+SSM+uniapp基于微信小程序的校园防疫系统
  • Hadoop学习笔记:运行wordcount对文件字符串进行统计案例
  • mac电脑系统活动监控:iStat Menus 中文 for Mac
  • 数据结构:顺序表
  • Java对象逃逸
  • 【学生成绩管理】数据库示例数据(MySQL代码)
  • 第十三章 : Spring Boot 日志记录脱敏
  • 【Python 训练营】N_3 生成互不相同且不重复的数字
  • 核药供应链创新:远大医药策略与明道云实践
  • 认识前端包常用包管理工具(npm、cnpm、pnpm、nvm、yarn)
  • 家用小型洗衣机哪款性价比高?口碑最好迷你洗衣机排行榜
  • 最新AIGC创作系统ChatGPT网站源码,Midjourney绘画系统,支持GPT-4图片对话能力(上传图片并识图理解对话),支持DALL-E3文生图
  • CSS中外联样式表代表的含义
  • JavaSE小实践1:Java爬取斗图网站的所有表情包
  • laravel5.5 视图共享数据
  • rc-form之最单纯情况
  • SAP云平台运行环境Cloud Foundry和Neo的区别
  • SQLServer之创建显式事务
  • tweak 支持第三方库
  • WePY 在小程序性能调优上做出的探究
  • 闭包--闭包之tab栏切换(四)
  • 不发不行!Netty集成文字图片聊天室外加TCP/IP软硬件通信
  • 对象引论
  • 基于Vue2全家桶的移动端AppDEMO实现
  • 技术发展面试
  • 使用 Xcode 的 Target 区分开发和生产环境
  • 体验javascript之美-第五课 匿名函数自执行和闭包是一回事儿吗?
  • 一个SAP顾问在美国的这些年
  • 译自由幺半群
  • 用quicker-worker.js轻松跑一个大数据遍历
  • 优化 Vue 项目编译文件大小
  • 在 Chrome DevTools 中调试 JavaScript 入门
  • linux 淘宝开源监控工具tsar
  • 策略 : 一文教你成为人工智能(AI)领域专家
  • 大数据全解:定义、价值及挑战
  • ​一帧图像的Android之旅 :应用的首个绘制请求
  • #{}和${}的区别是什么 -- java面试
  • (2)STM32单片机上位机
  • (PWM呼吸灯)合泰开发板HT66F2390-----点灯大师
  • (附源码)springboot 个人网页的网站 毕业设计031623
  • (附源码)ssm基于web技术的医务志愿者管理系统 毕业设计 100910
  • (附源码)基于ssm的模具配件账单管理系统 毕业设计 081848
  • (七)c52学习之旅-中断
  • (四)linux文件内容查看
  • .CSS-hover 的解释
  • .jks文件(JAVA KeyStore)
  • .NET : 在VS2008中计算代码度量值
  • .net 逐行读取大文本文件_如何使用 Java 灵活读取 Excel 内容 ?
  • .NET/C# 的字符串暂存池
  • .NET应用架构设计:原则、模式与实践 目录预览
  • .NET中两种OCR方式对比
  • @angular/cli项目构建--Dynamic.Form