LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-05-2019, 06:34 AM   #1
aal
Member
 
Registered: Jul 2006
Location: Qld
Distribution: Debian sid, Ubuntu
Posts: 230

Rep: Reputation: 17
How to plot a 3D path on a sphere using spreadsheet data.


Hi,

I have, in a spreadsheet, a list of points that lie on the surface of a unit sphere.

Each point is described by its x,y and z coordinates. These points trace out a curvilinear path on the surface of the sphere.

In the spreadsheet, I can use charts to view any 2-D view, for example an xy view shows a projection onto the xy plane when looking from the z direction and so on.

But what I want to see is a single, integrated 3-D view. I want a 3-D rendered image of a sphere, with a path drawn on it.

I have no idea what software to use and no experience in 3D CAD. I've been looking at the program K3d, but it does not seem appropriate because it seems you can only import from drawing tools.

Any ideas?

Many thanks in advance.....

andrew
 
Old 07-05-2019, 07:21 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
This sounds like a class on spreadsheets is needed.
 
Old 07-05-2019, 08:18 AM   #3
aal
Member
 
Registered: Jul 2006
Location: Qld
Distribution: Debian sid, Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 17
Hi BW,

If you are meaning to imply that this is possible in Libre office, I don't agree, but please be so kind as to advise where the functionality is.

The 3D views are not available in my package for scatter plots etc.

Thanks.



Andrew.
 
Old 07-05-2019, 08:26 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by aal View Post
Hi BW,

If you are meaning to imply that this is possible in Libre office, I don't agree, but please be so kind as to advise where the functionality is.

The 3D views are not available in my package for scatter plots etc.

Thanks.



Andrew.
I mean to imply it looks like someone needs a course on how to use spreadsheets in plotting charts.

Which software is used and its capabilities is left to them. Which too only takes a visit to their sight to look up what their software is capable of.

That sight too should have how to's and or the internet, being that you indicated Libre office, then the internet should be littered with this information, and their are even video's on this subject.

That in my option, it would be better and easier to use them and watch and learn then for me or anyone else to type out step by step instructions on how to select data and convert it into a chart. (if I even knew how to do such a thing).

using 'Libre office charting' in a search text box I got all kinds of how to's. Not to look like i am trying to push you off a cliff, but I think what is out there is already written up and might be better suited for you to learn from.

Last edited by BW-userx; 07-05-2019 at 08:27 AM.
 
Old 07-05-2019, 08:58 AM   #5
aal
Member
 
Registered: Jul 2006
Location: Qld
Distribution: Debian sid, Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 17
Hi BW,

Thanks for your inputs, and perhaps you do need a course on spreadsheets. It is hard, at first sight, to tell what kind of site you are talking about.

Again, we are talking about 3D or x,y,z plotting, not the usual 2D or x,y charts that are generically common.

Thanks...

Andrew.
 
Old 07-05-2019, 11:34 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by aal View Post
Hi BW,

Thanks for your inputs, and perhaps you do need a course on spreadsheets. It is hard, at first sight, to tell what kind of site you are talking about.

Again, we are talking about 3D or x,y,z plotting, not the usual 2D or x,y charts that are generically common.

Thanks...

Andrew.
Do you have youtube in your country? go there, and search it. You might find what you're looking for.

google, search for '3d plotting charts linux' learn how to use a search eng. type in how to use search eng. for key words to use in a search eng to get desired results.

cheers!
 
Old 07-05-2019, 11:38 AM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
gnuplot has a 3D plotting capability. It's a command line tool with a (IMO) pretty steep learning curve.

I found this tutorial for LibreOffice.

As stated, some search effort on the OPs part would probably yield more information.

Last edited by scasey; 07-05-2019 at 04:03 PM.
 
1 members found this post helpful.
Old 07-05-2019, 11:42 AM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
I am not much of an office suite user any more, but would suggest GNUPlot as the perfect option for any 2D or 3D plotting tasks.

It has a bit of a learning curve, but not too steep. It supports interactive use allowing for rotations and zoom, among other things. You can find plenty of examples online and probably quickly adapt a working example to your own data.

* scasey types faster than I!
 
1 members found this post helpful.
Old 07-05-2019, 09:13 PM   #9
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by scasey View Post
gnuplot has a 3D plotting capability. It's a command line tool with a (IMO) pretty steep learning curve.
The learning curve may be steep for some but if you run through all the demos that (usually) come with a GNUplot install you can usually find one that's close to what you need. There's also a ton of examples on the GNUplot web site. This one looks promising

Downside? From the description it appears that the OP will need to convert from Cartesian coordinates to spherical.
 
1 members found this post helpful.
Old 07-06-2019, 03:45 AM   #10
aal
Member
 
Registered: Jul 2006
Location: Qld
Distribution: Debian sid, Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 17
Hi,

and thanks to all concerned. GNUplot works, although there are a few details still to get on to. The demo suggested, which plots the world on a sphere, is very helpful. It was important to set the datafile separtor to comma, to get gnuplot to accept .csv output from s/sheet. I am still unsure, but it appears that I may not need to transform the data from cartesian into spherical. Still checking.

set mapping cartesian
set datafile separator comma

For the record, I had already seen the recommended libreoffice tutorial, which looks promising at first blush. Unfortunately, it is talking about 3-D views of bar charts etc, not scatter plots. Hence the need for something like gnuplot.

All my previous searches had thrown up CAD tools, not plotting tools - a category I could not search for because I didn't know it existed.

I am marking the thread solved.

Thanks again.

Andrew.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use XLSperl, xlsgrep.pl, perl-spreadsheet-read, someting else? Calc spreadsheet monsteriname Linux - Software 1 10-24-2012 06:32 AM
system froze when I clicked Save for Calc spreadsheet, now the spreadsheet is gone Stringdude Linux - Newbie 2 11-24-2010 01:05 AM
I got switched from a word process doc. into spreadsheet form. now ALL is spreadsheet 293 manzanita Linux - Newbie 1 08-04-2010 01:14 PM
Converting a Histogram data into Scatter Plot data kushalkoolwal Linux - Software 2 09-08-2008 01:19 PM
Wine X Sphere Mmorpg msantos123 Linux - Networking 0 02-22-2007 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration