How to plot with different range in Y axis

Hi,

I want to plot some Bar like below:

┌──────────────────────┐
│                      │
│                      │
│           A          │
│                      │
│                      │
├──────────────────────┤
│                      │
│                      │
│          B           │
│                      │
│                      │
├──────────────────────┤
│                      │
│                      │
│                      │
│                      │
│                      │
│                      │
│                      │
│          C           │
│                      │
│                      │
│                      │
│                      │
│                      │
│                      │
│                      │
│                      │
│                      │
│                      │
├──────────────────────┤
│                      │
│                      │
│          D           │
│                      │
│                      │
└──────────────────────┘

The problem is if the C is with huge height, so plot result will be bad (The C take most space and the other almost not seen), so could I adjust the Y axis ratio when display the C which will make the real height of C be smaller.

The background is I try to plot some memory layout of a Linux process, but the real data is only take small range in the 4GB area, and most are not used, but I want to show all the info in one plot, so we could see which part is high/low, etc.

Thanks!

so could I adjust the Y axis ratio when display the C which will make the real height of C be smaller.

there are at least two ways to achieve this:

  1. manually scale the data and then set the y labels to the original values
  2. use scales