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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:19:55+00:00 2026-06-02T08:19:55+00:00

I have the following gnuplot plot embedded in my Latex document: \begin{gnuplot}[terminal=epslatex,terminaloptions={color size 14.5cm,

  • 0

I have the following gnuplot plot embedded in my Latex document:

\begin{gnuplot}[terminal=epslatex,terminaloptions={color size 14.5cm, 9cm}]
set view map
unset surface

unset key
unset xtics
unset ytics
unset ztics

set contour base
set cntrparam levels discrete 2,4,8,16,32,64,128,256,512
set isosamples 100

splot y**2 + 0.1*x**2 notitle
\end{gnuplot}

The plot is alright. All I want to achive is that the contour lines all have the same style, i.e. line type and the same colour, black if possible.

Thanks for any advices.

  • 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-02T08:19:56+00:00Added an answer on June 2, 2026 at 8:19 am

    I don’t know about the latex terminal, but you could try:

    splot y**2 + 0.1*x**2 notitle lc rgb "#000000"
    

    http://www.gnuplot.info/demo/contours.html (see the section where they draw all the contours in the same color — It’s the last example on that page)

    EDIT

    It looks like the coloring of the contours is controlled by {un}set clabel. So if you just add unset clabel to your script, then the contours should probably show up black (with the lc rgb "#000000" that I had above. Note that unset clabel implies unset key. To achieve this with the ability to add a key is a little more tricky…

    in case you ever need to keep the labels…

    You’ll likely need to set term push to save the current terminal. set term unknown to make the output go nowhere. set table "junk.dat" and then issue your plot commmand as normal. This will write the contours to a file “junk.dat” which can then be splotted with lines after a set term pop to restore the old terminal settings (you’ll probably need some variant of title columnhead and maybe an index/every as well to get the labels to appear correctly…) — I’m not actually sure if the set term push/pop commands are necessary in this case. Anyway, plotting things to tables with gnuplot is something that I’ve done a number of times for a number of different applications. It’s a great tool to keep in mind.

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

Sidebar

Related Questions

I have following structure of an HTML document: <body> <div class=main> <div class=left></div> <div
I have been able to use gnuplot to plot graphs as I run my
I have some problems with the following: I would like to plot many data
I have following image map code. <area shape=rect coords=213,109,320,256 href=embedded-processors alt=Embedded Processor class=embeded-processor />
I have following method in wcf webenabled service Public Person AddPerson(Person p); As of
I have following requirement, I have C#/.Net console application, which refers to 'System.Data.Sqlite.dll' 'System.Data.Sqlite.dll'
I have following class public class ButtonChange { private int _buttonState; public void SetButtonState(int
I have following simple class: @interface Article: NSObject { NSString *title; } @property (copy,
I have following code in my application: // to set tip - photo in
I have following requirement in my application. A tableView with games title After selecting

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.