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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:37:13+00:00 2026-06-17T17:37:13+00:00

I am typing this in textedit and load it into gnuplot later. When I

  • 0

I am typing this in textedit and load it into gnuplot later. When I do so the image is slightly off the top of the screen which means I can’t see some of it. Is there a way to shift the entirety of the imaged produced down, or start the z-axis lower on the image?

Also, how do I make either my points or my lines black? Currently the lines for my sphere are red and the points are blue.

set pointsize 2
set tics
set border
unset key
set size ratio -1
set size square
unset xzeroaxis
unset yzeroaxis
unset zzeroaxis
# linetype linewidth 
set xrange[-1.2:1.2]
set yrange[-1.2:1.2]
set zrange[-1.2:1.2]
set view equal xyz
set xyplane at -1.2
set parametric
set isosamples 20
set hidden3d
set urange [0:2.0*pi]
set vrange [-pi/2:pi/2]
r=1.0;
# Parametric functions for the sphere
fx(v,u) = r*cos(v)*cos(u)
fy(v,u) = r*cos(v)*sin(u)
fz(v)   = r*sin(v)
splot fx(v,u),fy(v,u),fz(v),"mypoints" u 1:2:3 w p 3

Thanks, A.

  • 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-17T17:37:14+00:00Added an answer on June 17, 2026 at 5:37 pm

    Ok, so basically there are loads of issues that need solving so here goes:

    1) Don’t shift the picture down, get rid of the little tag end from the z part of the border. This makes the picture more central.

    To do this: set ticslevel 0.0

    2) Aspect ratio is not maintained in X11 so it looks all squashed. This is spoken about here:

    http://sourceforge.net/tracker/index.php?func=detail&aid=3331162&group_id=2055&atid=102055

    The workaround as they say is to set the size of window that X11 outputs to to be square, to do this: set terminal x11 size 800,800

    3) Note, you don’t now need: set xyplane at -1.2 (or what ever z value you want) as this is taken care of using the set ticslevel command.

    So now I have this:

    set pointsize 2
    set tics nomirror
    set ticslevel 0.0
    set border
    set view equal xyz
    unset key
    unset xzeroaxis
    unset yzeroaxis
    unset zzeroaxis
    # linetype linewidth 
    set xrange[-1.2:1.2]
    set yrange[-1.2:1.2]
    set zrange[-1.2:1.2]
    set parametric
    set isosamples 20
    unset hidden3d
    set urange [0:2.0*pi]
    set vrange [-pi/2:pi/2]
    r=1.0;
    # Parametric functions for the sphere
    fx(v,u) = r*cos(v)*cos(u)
    fy(v,u) = r*cos(v)*sin(u)
    fz(v)   = r*sin(v)
    splot fx(v,u) w lines lc rgb "black",fy(v,u) w lines lc rgb "black",fz(v) w lines lc rgb "black","mypoints" u 1:2:3 w points lc rgb "red" p 2
    

    Hope this helps people in future.

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

Sidebar

Related Questions

I know that you can align UILabels in the center by typing this code:
Well, since I'm typing this from mobile I can't type or copy paste the
I know in Chrome you can clear offline apps by typing this address chrome://appcache-internals/
I have this horrible habit of typing the below and not catching it until
This is the error I am getting when typing ./configure : checking build system
Predictive typing is a handy feature on many mobile phones. How would/can you implement
If I start typing stackov.. in Chrome I can see something like 'Press Tab
Why is it that typing this in the console: {}.toString {}.hasOwnProperty {}.... throws an
Is there a better way of debugging in Rhino than typing this everytime? :
I'm doing the following to a TextEdit which is on a dialog form with

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.