R语言横坐标题注公式
时间: 2023-10-10 19:08:09 浏览: 237
在R语言中,可以使用函数`expression()`将公式添加到图表的横坐标标题中。例如,使用`xlab(expression(frac(miles, gallon)))`将在横坐标标题中显示一个分数公式,其中分子是"miles",分母是"gallon"。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [ggplot01:R语言坐标轴离散、连续与图例离散连续的区分](https://blog.csdn.net/qq_43209742/article/details/106643870)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [双曲柱面matlab代码-exam:考试](https://download.csdn.net/download/weixin_38723691/19050597)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文