[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 13:32:25 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
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?
Thank You,
Stephen H. Dawson
(865) 804-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>> 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>
> 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
>
- Scatter Plotting, Stephen H. Dawson, 2016/06/05
- Re: Scatter Plotting, Doug Stewart, 2016/06/05
- Re: Scatter Plotting, Stephen H. Dawson, 2016/06/05
- Re: Scatter Plotting, Mike Miller, 2016/06/05
- Re: Scatter Plotting, Stephen H. Dawson, 2016/06/05
- Re: Scatter Plotting, Mike Miller, 2016/06/05
- Re: Scatter Plotting, Stephen H. Dawson, 2016/06/05
- Re: Scatter Plotting, Isak Delberth Davids, 2016/06/05
- Re: Scatter Plotting,
Stephen H. Dawson <=
- Re: Scatter Plotting, Doug Stewart, 2016/06/06
- Re: Scatter Plotting, Stephen H. Dawson, 2016/06/06
- Re: Scatter Plotting, Stephen H. Dawson, 2016/06/10
- Re: Scatter Plotting, Stephen H. Dawson, 2016/06/10
- Re: Scatter Plotting, Stephen H. Dawson, 2016/06/10
- Re: Scatter Plotting, Doug Stewart, 2016/06/10