Plot LLE results
Function for plotting LLE results either in static or in dynamic way.
plot_lle( Y, X, print = FALSE, col = 3, name = as.numeric(Sys.time()), angle = 60, inter = FALSE )
Y |
matrix object with calculated embedded data. |
X |
matrix object with original data. |
print |
a logical values indicating wheather to plot the graphical results to a file. |
col |
string or number dtermining the plotting colours. |
name |
(if |
angle |
(if |
inter |
a logical values indicating wheather to use interactive 3D-plots. See rgl. |
col
determines the way that the points in the plot are coloured. Choosing a string name of a colour leads to a monocoloured plot. Choosing a number between leads to a colour gradient plot build up by N colours (taking only the rainbow colours into account). Choosing a numeric vector with length N leads to points coloured respecting to the values in the vector (for unique colours only values between 0 and 600 should be used).
If inter==false
, two plots are generated in one window. The left plot is the plot of the original data. These will only be plotted if n \in \{1,2,3\}. The right plot shows the embedded data. These will only be plotted m \in \{1,2,3\}.
if inter==true
, one interactive plot of the embedded data will be shown. This plot can be scrolled and zoomed. It requires OpenGL drivers.
data( lle_scurve_data ) X <- lle_scurve_data Y <- lle( X, m=2, k=12 )$Y plot_lle( Y, X, FALSE, col="red", inter=TRUE )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.