function stampamotes(nomiSel,data)
    
    
    %LUMINOSITA' ESTERNA
    lum = ['051';'007';'137';'033';'132'];
    posLuci = name2pos(lum,data);
    figure
    posRestanti=setdiff([1:65],posLuci);
    %label=['sud  ';'nord ';'est  ';'est  ';'ovest']
    for k = 1:length(posLuci)        
        plot3(data.p(posLuci(k),1),data.p(posLuci(k),2),data.p(posLuci(k),3),'oy','markerfacecolor','y')
        text(data.p(posLuci(k),1)+0.15,data.p(posLuci(k),2)+0.15,data.p(posLuci(k),3),data.name(posLuci(k),:),'FontSize',9)
        hold on
    end
    
    
    %TEMPERATURA ESTERNA
    tempE = ['131';'147';'157';'010'];    
    posT = name2pos(tempE,data);    
    %label=['sud  ';'nord ';'est  ';'ovest']
    posRestanti=setdiff(posRestanti,posT);
    for k = 1:length(posT)        
        plot3(data.p(posT(k),1),data.p(posT(k),2),data.p(posT(k),3),'og','markerfacecolor','g')
        text(data.p(posT(k),1)+0.15,data.p(posT(k),2)+0.15,data.p(posT(k),3),data.name(posT(k),:),'FontSize',9)
    end
    
    %BAGNO SAUNA
    bagnoS = ['163';'154';'151'];
    posB = name2pos(bagnoS,data);        
    posRestanti=setdiff(posRestanti,posB);
    for k = 1:length(posB)        
        plot3(data.p(posB(k),1),data.p(posB(k),2),data.p(posB(k),3),'om','markerfacecolor','m')
        text(data.p(posB(k),1)+0.15,data.p(posB(k),2)+0.15,data.p(posB(k),3),data.name(posB(k),:),'FontSize',9)
    end
    
    %STANZA RADIO
    stanzaRadio = ['141';'035';'138';'050';'106';'009';'150';'167';'134';'133'];
    posSR = name2pos(stanzaRadio,data); 
    posRestanti=setdiff(posRestanti,posSR);
    for k = 1:length(posSR)        
        plot3(data.p(posSR(k),1),data.p(posSR(k),2),data.p(posSR(k),3),'ob','markerfacecolor','b')
        text(data.p(posSR(k),1)+0.15,data.p(posSR(k),2)+0.15,data.p(posSR(k),3),data.name(posSR(k),:),'FontSize',9)
    end

    
    
    %SENSORI SELEZIONATI
    posNomi = name2pos(nomiSel,data);
    
    for k = 1:length(posNomi)        
        plot3(data.p(posNomi(k),1),data.p(posNomi(k),2),data.p(posNomi(k),3),'or','markerfacecolor','r')
        text(data.p(posNomi(k),1)+0.15,data.p(posNomi(k),2)+0.15,data.p(posNomi(k),3),data.name(posNomi(k),:),'FontSize',9)
    end
    
    %SENSORI RIMANENTI
    posRestanti=setdiff(posRestanti,posNomi);
    for k = 1:length(posRestanti)        
        plot3(data.p(posRestanti(k),1),data.p(posRestanti(k),2),data.p(posRestanti(k),3),'*k','markerfacecolor','k')
        text(data.p(posRestanti(k),1)+0.15,data.p(posRestanti(k),2)+0.15,data.p(posRestanti(k),3),data.name(posRestanti(k),:),'FontSize',9)
    end
    
    grid on    
    xlabel('x')
    ylabel('y')
    zlabel('z')
    axis tight
end