Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hope everything is just safe and sound.
there are some color tables (cpt files) in GMT and "makecpt" command helps to use these cpt files. but I want to create a new cpt file with my own arbitrary color scale.
how can I do that?
Last edited by Sonia Bargn; 10-16-2015 at 02:53 AM.
hope everything is just safe and sound.
how can I create a new cpt file in GMT? I'm expected to create a new color scale.
We also expect you to read the LQ Rules about posting the same question multiple times, and the "Question Guidelines". Had you even tried to look this up, the VERY FIRST HIT in Google for "how can I create a new cpt file in gmt" is: http://gmt.soest.hawaii.edu/doc/5.1.0/makecpt.html
colors can be based on RGB codes (red,green,blue: for example black defines by 0/0/0 and white is 255/255/255. other colors is a range between these codes) in this program, I want a color scale which shows white for zero and then,blue, green, yellow, red till 50. unfortunately this color scale in not in program's default. the point is, color scale must be continuous. cpt file is a file which defines this RGB codes. I don't know how can I make my own continuous color scale.
Originally Posted by ardvark71
I know nothing about this program or how one would do this but for the benefit of those who might be able to help, what color scale or range are you wanting to produce?
Dear John VV
I've read the help page, but it states how you can use from program's color table, I wanna make a new color table.
If you "wanna" make a new table, then READ the page you were given in the first reply. From the top of that page:
Originally Posted by makecpt Page
makecpt is a utility that will help you make color palette tables (cpt files). You define an equidistant set of contour intervals or pass your own z-table, and create a new cpt file based on an existing master cpt file. The resulting cpt file can be reversed relative to the master cpt, and can be made continuous or discrete. For color tables beyond the standard GMT offerings, visit cpt-city: http://soliton.vm.bytemark.co.uk/pub/cpt-city/.
I don't know how to define an equidistant set of intervals that result a continuous color scale, can u do a great favor and help me?
Again, read the LQ Rules...text-speak isn't good. And we will always be happy to HELP you...but we will NOT write things for you.
Show us what effort you have put forth, and tell us where you're stuck. Otherwise, you're just continuing to ask for a handout. You didn't appear to have done any research on how to do this (re: first hit in Google had the answer), and now you're asking us to write things for you. ESPECIALLY since you've been asking about GMT for about a year now, AND given the fact that there is a link on the web page you were handed that has SAMPLE CPT files already there for you to view.
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.