help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scatter Plotting


From: Stephen H. Dawson
Subject: Re: Scatter Plotting
Date: Mon, 6 Jun 2016 16:10:34 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

>> pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
          io *|   2.0.2 | /usr/share/octave/packages/io-2.0.2
>>

Fantastic. Thanks, all.

Thank You,
Stephen H. Dawson
(865) 804-3454
http://www.linkedin.com/in/shdcs


On 06/06/2016 01:55 PM, Doug Stewart wrote:
>
>
> On Mon, Jun 6, 2016 at 1:32 PM, Stephen H. Dawson
> <address@hidden <mailto:address@hidden>> wrote:
>
>     Thank you, Isak. This spreadsheet interface greatly helps me.
>
>     I have now installed octave-io from distro repository. I am running
>     octave via:
>
>     octave --force-gui
>
>     How does one load octave-io, please?
>
>
> when you do
> pkg list
>
> you should see a list of all the pkgs that have been installed'
> If the is a * next to the pkg name then it is also loaded.
>
> to load a pkg type
>
> pkg load "pkgname"
>
> pkgname is the name in the list
>
>
>
>
>  
>
>
>     Thank You,
>     Stephen H. Dawson
>     (865) 804-3454 <tel:%28865%29%20804-3454>
>     http://www.linkedin.com/in/shdcs
>
>
>     On 06/05/2016 08:40 PM, Isak Delberth Davids wrote:
>     > On 6 June 2016 at 00:31, Stephen H. Dawson <address@hidden
>     <mailto:address@hidden>
>     > <mailto:address@hidden <mailto:address@hidden>>> wrote:
>     >
>     >       x = [x1, x2, x3, ...];
>     >       y = [y1, y2, y3, ...];
>     >       z = [z1, z2, z3, ...];
>     >
>     >
>     >     Yes, I think I see how to do this now. I will work in it
>     over the next
>     >     week and see where I end up.
>     >
>     >     I appreciate your kind assistance.
>     >
>     >     Thank You,
>     >     Stephen H. Dawson
>     >     (865) 804-3454
>     >     http://www.linkedin.com/in/shdcs
>     >
>     >
>     >     On 06/05/2016 06:25 PM, Mike Miller wrote:
>     >     > On Sun, Jun 05, 2016 at 18:13:38 -0400, Stephen H. Dawson
>     wrote:
>     >     >> Catchy, nice functionally.
>     >     >>
>     >     >> Well, perhaps I am not asking my question properly. If I
>     have 3
>     >     columns
>     >     >> in a spreadsheet of x, y, and z values, how do I enter
>     those 3
>     >     values
>     >     >> for each location into the scatter3 function?
>     >     >   x = [x1, x2, x3, ...];
>     >     >   y = [y1, y2, y3, ...];
>     >     >   z = [z1, z2, z3, ...];
>     >     >   scatter3 (x, y, z);
>     >     >
>     >     > The demos generate random x, y, and z, but I think they pretty
>     >     clearly
>     >     > show how the coordinate vectors are passed to the function, as
>     >     well as
>     >     > how to pass additional arguments to set the size or color of
>     >     each of the
>     >     > points.
>     >     >
>     >     > It's the same as line plotting, the function takes in
>     individual
>     >     arrays
>     >     > for each independent dimension of the plot. Corresponding
>     values in
>     >     > those arrays are the points of the line, histogram,
>     scatter plot, or
>     >     > surface that is being plotted.
>     >     >
>     >     > Is that what you are asking about?
>     >     >
>     >
>     >
>     >     _______________________________________________
>     >     Help-octave mailing list
>     >     address@hidden <mailto:address@hidden>
>     <mailto:address@hidden <mailto:address@hidden>>
>     >     https://lists.gnu.org/mailman/listinfo/help-octave
>     >
>     >
>     > Hi,
>     >
>     > and since you mentioned "columns in a spreadsheet", this is how you
>     > can read and use data from a spreadsheet.
>     >
>     > % reading spreadsheat
>     > dataSet = xlsread('dataFile.xlsx')
>     >
>     > % extract individual columns one through three
>     > x = dataSet(:,1)
>     > y = dataSet(:,2)
>     > z = dataSet(:,3)
>     >
>     > % plotting with data read from spreadsheet
>     > scatter3(x, y, z);
>     >
>     > I think this requires that you have the octave-io package installed
>     > and loaded.
>     >
>     > Cheers,
>     > Isak Delberth DAVIDS
>     >
>
>
>     _______________________________________________
>     Help-octave mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.gnu.org/mailman/listinfo/help-octave
>
>
>
>
> -- 
> DASCertificate for 206392
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]