Skip to content

Data Gawker

12 February 2024

Plotting Piecewise Functions in Python and Matplotlib the Elegant Way, Part 2

In the previous article about piecewise functions, we talked about how to plot a piecewise function in Python using the Matplotlib library. In this article, we will discuss how a more advanced approach will allow us to adjust parameters on a piecewise plot. We will draw on the previous example of visualizing the federal tax brackets and dive into how...

Categories Visualization
8 January 2024

Plotting Piecewise Functions in Python and Matplotlib the Elegant Way

Piecewise functions are mathematical functions that are defined by different expressions or formulas for different intervals or domains. These functions are commonly used in various fields such as mathematics, physics, and engineering to model complex systems or phenomena. In this article, we will explore how to plot piecewise functions using Python and the Numpy and Matplotlib libraries. Let us take...

Categories Visualization
30 December 2023

Could You End Up with a Lower Net Income by Moving Up a Tax Bracket?

We all have heard the saying, “The only certain things in life are death and taxes”. I do not know anyone who looks forward to either of these things. Certainly, nobody ever loves the idea of giving a huge chunk of their income to the government. Because the US government follows a progressive tax structure, some people even dread the...

Categories Exploration

Recent Posts

  • Plotting Piecewise Functions in Python and Matplotlib the Elegant Way, Part 2
  • Plotting Piecewise Functions in Python and Matplotlib the Elegant Way
  • Could You End Up with a Lower Net Income by Moving Up a Tax Bracket?

Recent Comments

No comments to show.

©2025 Data Gawker

Coldbox WordPress theme by mirucon

Back To Top