Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"It's like deja vu all over again." -- Yogi Berra


devel / comp.graphics.apps.gnuplot / A litle help with y-label rotation?

SubjectAuthor
o A litle help with y-label rotation?David Jackson

1
A litle help with y-label rotation?

<91220837-6de2-4a79-9b78-5d363bee038cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=301&group=comp.graphics.apps.gnuplot#301

  copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:ac8:544d:0:b0:412:14a0:448e with SMTP id d13-20020ac8544d000000b0041214a0448emr300247qtq.1.1698894054538;
Wed, 01 Nov 2023 20:00:54 -0700 (PDT)
X-Received: by 2002:a05:6870:1487:b0:1e5:78de:89b4 with SMTP id
k7-20020a056870148700b001e578de89b4mr3629624oab.0.1698894054335; Wed, 01 Nov
2023 20:00:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Wed, 1 Nov 2023 20:00:53 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:8310:2ab0:d5cb:3053:fd21:deeb;
posting-account=60fDfgoAAAD_JHpR4jam9w9xxBdBrgQG
NNTP-Posting-Host: 2600:1700:8310:2ab0:d5cb:3053:fd21:deeb
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <91220837-6de2-4a79-9b78-5d363bee038cn@googlegroups.com>
Subject: A litle help with y-label rotation?
From: davidjayjackson@gmail.com (David Jackson)
Injection-Date: Thu, 02 Nov 2023 03:00:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 16
 by: David Jackson - Thu, 2 Nov 2023 03:00 UTC

What do I need to change in the code below to keeping the letters of the y axis from stacking on top of each other?

# Setup the plot environment
set terminal png size 800,600
set output "histogram__total_bags.png"
set title "Histogram of Total Bags Shipped(Avocado)"
set xlabel "Total Bags(x10,000,000)"
set ylabel "Freq" rotate by 90
# Set bin width and range
bin_width = 4000000
bin_number(x) = floor(x/bin_width)

# Set fill style
set style fill solid

# Generate the histogram
plot 'data.txt' using (bin_number($1)):(1.0) smooth freq with boxes notitle

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor