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 8934127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:42:43+00:00 2026-06-15T09:42:43+00:00

This ought to be pretty simple, but I can’t seem to find an answer.

  • 0

This ought to be pretty simple, but I can’t seem to find an answer. I have a data file that I have successfully fit a curve to. Now I would like to display the curve, but not the individual data points. How do I do that? Here’s what I have now.

f1(x) = a1 + b1*exp(x/c1)
a1 = 1
b1 = 10
c1 = 1000
fit f1(x) 'datafile.txt' using 1:2 via a1, b1, c1
plot f1(x) , "datafile.txt"

Thanks

  • 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-15T09:42:45+00:00Added an answer on June 15, 2026 at 9:42 am

    In the last line, you instruct gnuplot to plot both the fitted function f1(x) and the data points from the file. If you omit the filename, it will not plot the points.

    Because it then no longer knows the range of the data, it will not use the same range. So you need to set the range explicitly, for example:

    plot [0:100] f1(x)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This ought to be simple but I just can't figure this one out: The
This ought to be pretty simple, maybe use a regex but I would think
I'm trying to do something that ought to be pretty simple. I have a
this ought to be simple, but it doesn't seem to be working for me.
This ought to simple. Say we have a struct from a library that doesn't
This ought to be simple, but somehow I can't figure it out: I updated
This ought to be very simple in Rails, but I'm still learning... My code
This should be a simple one: I have an observableArray object called To in
I have been perpetually intrigued by test-driven development, but I can never follow through
Another this ought to be easy but I don't know how to do it

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.