O'Reilly logo

Gnuplot in Action: Understanding Data with Graphs by Philipp K. Janert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Color

This chapter covers

  • Understanding color spaces
  • Defining palettes
  • Creating colored graphs with palettes
  • Using color to represent data

We haven’t talked much about color yet in this book, so you might be wondering whether gnuplot isn’t good at handling it. Quite the opposite! Gnuplot has some clever features to handle palette-mapped color plots: plots in which colors are chosen from a continuous spectrum or palette and used to express a numeric quantity.

When we briefly discussed color before (in chapter 5), we were only interested in specifying a single color at a time: one color for the first data set, a different color for the second data set, and so forth. In this chapter, we take the opposite view: color that varies smoothly, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required