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

  • Home
  • SEARCH
  • 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 505627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:37:04+00:00 2026-05-13T06:37:04+00:00

I am programming system in C and I would like to draw rectangles into

  • 0

I am programming system in C and I would like to draw rectangles into 2D plain with axis X and Y to represent generated data (scheduling problems).It should LOOK LIKE gant chart. Information are supplied in text file. I don’t need anything fancy yet. Just something like “draw box in color Red starting at X=5, Y=3, ending at X=7,Y=5”. It should support axis scaling and I would like it to generate any size of image.

Do any of you have good experience with such a tool that can be used to generate this kind of images from command-line (from some file perhaps that have each line in Color XY XY format)?

So far I see gnuplot as only feasible solution.

  • 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-05-13T06:37:05+00:00Added an answer on May 13, 2026 at 6:37 am

    Check out GraphViz, in particular dot. dot really wants to do the graph layout itself, but if memory serves me well you can force it to place boxes in fixed positions. You can use dot from the command line or plug into its API.

    Or, you might consider writing SVG directly, it’s only text — but whether this works for you depends in part on what final form you want the graphic in. Most browsers now make a fair stab at rendering SVG.

    Beyond that, you might look at ImageMagick, Dislin, Cairo or any one of a multitude of other graphics libraries.

    So, GNUPlot is not the only feasible solution by a long way.

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

Sidebar

Related Questions

In the book Linux System Programming I have read some like this: fgetc returns
I'm currently working on the back-end of ACM-like public programming contest system. In such
I have a few programming articles I would like to write, but I do
I would like to take advantage of Adobe's Runtime Shared Library system for swc's,
Helllo, I would like to share small amounts of data (< 1K) between python
I'm programming in a very static environment and would like to generalize the problem/code
I'm developing a new SOA system right now, and would like to use WSDL2.0,
I would like to hear from people who have real world programming experience in
I am just starting play with multithreading programming. I would like to my program
I would like to know how to setup a system in php that I

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.