• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Data Viz with Python and R

Learn to Make Plots in Python and R

  • Home
  • Seaborn
  • Matplotlib
  • ggplot2
  • Altair
  • About
    • Privacy Policy
  • Visualizing Activation Functions in Neural Networks
  • Confusion Matrix Calculator
  • Visualizing Dropout Rate in Neural Network
  • Visualizing Loss Functions in Neural Networks
  • Show Search
Hide Search

R

How to Add matching colors to keywords in title text

datavizpyr · July 9, 2024 ·

Add matching colors to keywords in ggplot2 title text with ggtext

This tutorial teaches you how to color words in a ggplot title to match the data in the plot itself. This approach has two main benefits: Improves interpretation: Readers can understand the chart more quickly. Reduces clutter: It can eliminate the need for a … [Read more...] about How to Add matching colors to keywords in title text

Filed Under: ggplot2, ggtext, R Tagged With: add matching color in title

How to selectively add color to title text in ggplot2

datavizpyr · July 8, 2024 ·

Add colors to select words in title text with ggtext

In this tutorial, we will learn how to specify colors to selective words of title text in ggplot2. For example, if we had made a plot with ggplot2 and have title text to describe the plot, we will learn how to color certain words of the title not the whole title text. We will … [Read more...] about How to selectively add color to title text in ggplot2

Filed Under: ggplot2 Tagged With: add color to title text in ggplot2

How to wrap long strip labels in facet_wrap

datavizpyr · February 22, 2024 ·

Wrap a long strip label in a facet plot with labeller

Do long strip labels in facet_wrap() break your ggplot2 plots? When labels are too long, they can become unreadable. This tutorial shows you how to automatically wrap them. You'll learn to use a labeller function to control the width of your facet labels, keeping your … [Read more...] about How to wrap long strip labels in facet_wrap

Filed Under: ggplot2, R Tagged With: wrap long strip label

How to Turn off “missing values have been dropped” warning message in ggplot2

datavizpyr · October 31, 2023 ·

In this post, we will learn how to turn off the "missing values" warning message from ggplot2, when making a scatterplot with data containing missing values. geom_point() in ggplot2 gives a warning when it drops missing values from from the dataset it is plotting. Here is example … [Read more...] about How to Turn off “missing values have been dropped” warning message in ggplot2

Filed Under: ggplot2, R Tagged With: turn off rows with NAs are remove

How to add arrow to x /y axis in ggplot2

datavizpyr · October 25, 2023 ·

How to add double arrows to x-axis in ggplot2

In this tutorial, we will learn how to add arrows to both x and y axis in a plot made with ggplot2 in R. When we make a plot with ggplot2, it does not add arrows at the end of either x or y axis by default. Sometimes you might want to add arrows to either x-axis or y-axis to the … [Read more...] about How to add arrow to x /y axis in ggplot2

Filed Under: ggplot2, R Tagged With: ggplot2 arrows to axis

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Interim pages omitted …
  • Page 37
  • Go to Next Page »

Primary Sidebar

Python & R Viz Hubs

  • Seaborn Guide & Cookbook
  • ggplot2 Guide & Cookbook
  • Matplotlib Guide & Cookbook
  • Confusion Matrix Calculator
  • Visualizing Activation Functions
  • Visualizing Dropout
  • Visualizing Loss Functions

Buy Me a Coffee

Copyright © 2026 · Daily Dish Pro on Genesis Framework · WordPress · Log in

Go to mobile version