LinuxQuestions.org
Help answer threads with 0 replies.
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 03-10-2017, 12:26 AM   #1
Electric-Gecko
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Rep: Reputation: Disabled
Question Object Oriented in Libreoffice Calc? Any better-suited software?


There's this thing I wanted to do in Libreoffice calc that involves writing a database, inputting all the values of some things and doing some calculations with them, and making some graphs.
But all this information would be much better organized if I could use an object-oriented method. You know; with classes and instances?
So I would like to setup a class, and enter the instance variables that each member of that class will have. Then I will manually enter each member object, and enter the values of each instance variable.

The one way I can think of doing this in Libreoffice Calc is to use different sheets for different classes (or even just a big rectangular section of the sheet), use columns for the different instance variables, and use the rows as objects. But is there any clean way to do object-oriented in Libreoffice Calc, or any way to format them as classes, objects, and instance variables that would help in writing formulas?

Alternatively, is there a different program that would be better suited to this? I don't want something too technical, or any big learning curve, but something with a fairly good GUI. I want to be able to figure out how to do this pretty soon. I also like the way that in Calc you can have a formula in a cell and it displays the output value of it when your not editing. I also want to be able to make graphs (without being painful to do), which is an advantage of Libreoffice Calc.
 
Old 03-10-2017, 08:17 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,317
Blog Entries: 13

Rep: Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372
Hi and welcome to LQ.

Sorry but your post is a combination of contradictions.

Libreoffice Calc is NOT a programming language. It supports formulas similar to how Microsoft Excel supports them.

Object oriented is something you do with a programming language, most classically C++, however you can use C, or other languages like Java, Python, C#, to name a few.

The other contradictions I see are that you cite object oriented, classes, objects, and instance variables, and then say you wish for something not too technical with any big learning curve.

Given that you seem to portray some level of understanding about object oriented programming, I'm hard pressed to wonder therefore why you are saying you don't wish for something too technical with a big learning curve.

I honestly have not done any real graphical plotting within Linux. I have done so on other systems and used charting libraries, typically using C++ and C#. Therefore if you wish to do programming in Linux to read in data and plot graphs I'd suggest you search for programming libraries and tools which support charting or plotting and then seek example programs or read the documentation on those libraries and tools and start writing some programs to achieve what you want.

The other option is you can put data into a spreadsheet and have it plot that data by selecting the data and specifying the type of chart you wish it to draw for you. But if the capabilities of the default spreadsheet application are not what you want, then you'll have to search for something custom, or make your own.
 
Old 03-10-2017, 11:00 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 5,773

Rep: Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133
You might like to search here
http://linuxappfinder.com/scientificandengineering
I suspect that you'll need several applications — database and plotting, at the least - run manually or controlled by a script. This is a bit beyond my experience, ao I can't be more helpful.
 
Old 03-10-2017, 06:10 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,634

Rep: Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202
Are you aware of the R project? https://www.r-project.org/
R is powerful and versatile but does require effort to learn.
 
Old 03-13-2017, 11:43 PM   #5
Electric-Gecko
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Hi and welcome to LQ.
The other contradictions I see are that you cite object oriented, classes, objects, and instance variables, and then say you wish for something not too technical with any big learning curve.

Given that you seem to portray some level of understanding about object oriented programming, I'm hard pressed to wonder therefore why you are saying you don't wish for something too technical with a big learning curve.
What I meant was that I don't have to learn much that I don't already know. I understand the concept of object oriented as well as I described it. For all I know, I might even misunderstand the whole idea as I have had very little experience successfully coding in any object-language, or even programming in general.

The reason is that it's simply a good way to organize the information that I have.
 
Old 03-14-2017, 10:52 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,317
Blog Entries: 13

Rep: Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372Reputation: 4372
Quote:
Originally Posted by Electric-Gecko View Post
What I meant was that I don't have to learn much that I don't already know. I understand the concept of object oriented as well as I described it. For all I know, I might even misunderstand the whole idea as I have had very little experience successfully coding in any object-language, or even programming in general.

The reason is that it's simply a good way to organize the information that I have.
That is fully understood, sorry if there seemed to be a misinterpretation on my part.

I'm curious therefore what direction you are leaning towards at this point.

For instance, the classical object oriented is C++, or another programming language.

Are you intending to consider writing a program to match your intentions? Are you considering some of the other suggestions offered under the links provided by DavidMcCann or allend? Or are you still hoping to find a manner to write something directly within LibreOffice Calc?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Will Bash Become Object Oriented? Nexusfactor Programming 20 06-19-2015 07:02 AM
object oriented advice in C++ xeon123 Programming 5 05-02-2007 09:20 AM
Object-Oriented Design Citizen Bleys Programming 2 02-11-2002 01:25 PM

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

All times are GMT -5. The time now is 03:40 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