Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8015869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:22:42+00:00 2026-06-04T20:22:42+00:00

plot data_file using 1:2 with box fs solid title I am using the above

  • 0
plot data_file using 1:2 with box fs solid title ""

I am using the above command to plot a bar graph in gnuplot. But the graph generated is a sort of continuous step graph where the width of each box is very high.

What is the problem with the above statement ?? And what is the preferred way to draw bar graph in gnuplot ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:22:44+00:00Added an answer on June 4, 2026 at 8:22 pm

    follow this link
    data.csv is

    "MCU", 1.8
    "Radio Tx", 19.5
    "Radio Rx", 21.8
    "Flash READ", 4
    "Flash WRITE", 20
    

    While the content of script should be ( gnuplot.script)

    set boxwidth 1 relative
    set style data histograms
    set style fill solid 1.0 border -1
    set datafile separator "," 
    plot 'data.csv' using 2:xticlabels(1) notitle
    
    set terminal png truecolor font small size 600,500
    set output 'image1.png'
    replot
    

    then

    $ gnuplot gnuplot.script

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using C++ to plot graphs using Gnuplot. In the C++ program, I popen()
Normally when using interactively gnuplot I do: gnuplot> plot state_log_6548032.data using 4 with lines
I need to plot a data file of 2 colums using gnuplot, scatter plot
I'm doing some script on bash to plot data with gnuplot. But it doesn't
I would like to create a graph like this one using gnuplot (or matplotlib,
I have a data file which I want to plot with gnuplot. However, for
I need to read some data from an input file and plot a graph
I plot complex data using QwtPlot, so, I reimplement QwtSeriesData for converting my data
I'm trying to plot some data into a histogram using pyplot.hist as such: hst
I'm using matplotlib to plot some data as 2D curves in a 3D axes.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.