Clear Filters
Clear Filters

what does scatter3 colours represent

1 view (last 30 days)
i am running a code on iris recognition using neural network. after simulation of the network, i first of all got a figure 1 which displayed some scattered points in various colour these points represented my number of input variable. after training the network, it was tested and after testing, another figure of scattered points displayed with same colours kinda of clustering together. my question is how do i know the input and output of this network and how do i define what the different colours stand for? the various colours that displays includes red, green, blue and yellow...
thanks
  1 Comment
ibrahim
ibrahim on 8 Apr 2013
hi waiter i am sorry for the using the word urgent...i was not thinking straight...i know you guys are trying so much to assist us even when we don't pay u guys... thanks

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 8 Apr 2013
By default scatter3() uses your Z data to determine the color, with the minimum Z value getting the first color in the colormap and the maximum Z value getting the last color in the colormap.
  3 Comments
Walter Roberson
Walter Roberson on 8 Apr 2013
The Z value is the third parameter passed to scatter3()
If you pass 5 parameters or more, the 5th one controls the color.
ibrahim
ibrahim on 8 Apr 2013
thanks so much...i appreciate

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!