Perform aggregations in the Collections
Hello
I have a nested table of the folder inside a PL/SQL procedure that has values in the form of
5 4 X
X 5 3
I have a table that has a value in the form of
C1 c2 c3
X 5 6.
I need to update the table with the average of the values for X that is my new data id in the table would be
C1 c2 c3
5 X 3.5
I can't create a new table to store the temporary result nor am that I allow me to create an object or a collection outside of PL/SQL. So I was using collections as an alternative
Please let me know how this is possible or if I'm doomed because of my lack of privileges.
Thank you
There is no easy way. You need to loop through it. You can use the PL/SQL collection type in SQL.
SQL > select * from aa.
COL1 COL2 COL3
---------- ---------- ----------
x 5 4SQL > declare
2 tbl type is table of a.a. % rowtype index by pls_integer;
3
tbl l_arr 4;
5 l_col1_val varchar2 (10): = 'x '.
6 l_col2_sum integer: = 0;
7 l_col3_sum integer: = 0;
8 l_cnt integer: = 0;
9 start
10 l_arr (1) .col1: = 'x '.
11 l_arr (1) .col2: = 5;
12 l_arr (1) .col3: = 3;
13
14 l_arr (2) .col1: = 'x '.
15 l_arr (2) .col2: = 5;
16 l_arr (2) .col3: = 4;
17
18 because I in 1.l_arr.count
19 loop
20 if l_arr (i) .col1 = l_col1_val then
21 l_cnt: = l_cnt + 1;
22 l_col2_sum: = l_col2_sum + l_arr (i) .col2;
23 l_col3_sum: = l_col3_sum + l_arr (i) .col3;
24 end if;
25 end of loop;
26
27 day aa
28 set col2 = l_col2_sum / l_cnt
29, col3 = l_col3_sum / l_cnt
30 where col1 = l_col1_val;
ends 31;
32.PL/SQL procedure successfully completed.
SQL > select * from aa.
COL1 COL2 COL3
---------- ---------- ----------
x 5 3.5SQL >
Tags: Database
Similar Questions
-
performance degrades after the collection of statistics
Oracle 11 g 2 OEL 5
We have several very large tables (40 million lines and more) and recently we gathered stats on tables and it degraded our performance. He began to do table scans complete rather than use the index. The same queries are very well in other environments. Only difference is the collection stats. Logically, the performance should be better after the collection of statistics. But it is rather poor.
I ran track 10053 on request and I see that the cardinality and the cost is medium high in the inefficient environment. A test, I have restored the old stats in the environment and it put everything back to normal - the query runs quickly again. Note that the restored stats were collected for more than a year. Should not collect us statistics regularly on very large tables?
Thank you.Hello
the stats of the default collection behavior is to determine the number of cells (i.e. a histogram is necessary or not and if yes, how accurately must be) automatically, depending on distribution and usage of the column of data in different types of predicates. This means that, in many cases collection histogram is almost a random process - once you get a histogram, the next time that you don't have, even if there is almost no change. This is (unfortunately) the normal behavior.
I could quite at the bottom of your question - the optimizer esteem seem to be all correct in the second case, it is not clear to me why the plan that is so bad (there are also some other problems, as lines of 40G supposed to be returned by one of the nested loops, or estimation of cardinality missing for another nested loop). But in any case, histograms and bind variables do not mix, so you can just solve your problem by specifying method_opt => "for columns
- size 1' to disable the histograms for this table.
Best regards
Nikolai -
Hi gurus
I was reading a collection of topic of the doc oracle PL/SQL Collections and records and Steven Feuerstein and according to my understanding, there are 3 types of collections in oracle, associative, Nested table and Varray.
Collection types
1. associative array
It is one of oracle collection type and they are unlimited, dimensional and sparse collections unique homogeneous elements... These types of collection are only available in PL/SQL, and we cannot create through SQL. We can use multigames operator in this collection
Items in this collection type is in order.We cannot be initialized
Nested table 2
It is one of the oracle collection type and here are single dimensional, without limit and the collection of homogeneous items. This type of collection is available in PL/SQL and SQL and we can also create it through SQL.
They are initially dense but can be scarce later through deletion. There is no order of the elements in the nested table.We use multigames operator in this collection.
We have initialized.
3 - Varray
It is one of the oracle collection type and here are single dimensional, bounded and the collection of homogeneous items. This type of collection is available in PL/SQL and SQL and we can also create it through SQL.
They are always dense. Whenever you define this type of collection you mention always the maximum no of items. Items in this collection type is in order.We cannot use multigames operator in this collection
My question is that when we use these types of collections? I know only Varray collection, we can use it when we know the upper limit of the elements, but I confuse myself in Nested table and associative. It seems that the two are the same except that we can create Nested table via database level, but in the case of an associative array, we cannot create it.
More we can perform the string indexing on the location of items in an associative array using the index clause, but in the case of nested by default on PLS_integer indexing table and we can perform localization of indexing on the strings.
I appreciate if someone tell me when the associative array is used and when we use the nested table. Thanks in advance
Concerning
Muzz
table.
Muzz says:
Thanks for the responses,
@Billy, thanks for the nice collection, but still confusing explanation as to where we need to use the standard collection and where we need to use the associative collection?...
A table has cells or elements. It also has a way for you to refer to the cell in the table.
A normal array uses a sequential numbering of addressing or SEO, the cells in the table. In many languages the numbering starts at 0, in PL/SQL it starts at 1.
A table will look so conceptually as follows (index = item)
1 = John
2 = Jack
3 = Scott
So in PL/SQL, the following can be used to refer to the first question/cell in the table:
dbms_output.put_line( '1st item='|| array(1) );
Or we can add a new item in the table as follows:
array.Extend(1); -- add a new iterm, e.g. item 2 array( array.Count ) := 'foo'; -- array.Count is now 2 so we are using array(2) as reference
Referring to a standard table is so easy - usually all that is needed to browse a table:
for i in 1 .. array.Count loop -- do something with array item array(i) end loop;
An associative array is a name-value pair. Here is an example of name-values (from list of symbols for the NYSE [NYSE]):
AAC = Aac Holdings Inc.
AAN is Inc.. Aaron
ABR = Arbor Realty Trust
To refer to an element in the table, we need to use the name for this value. For example
dbms_output.put_line( 'AAC='|| array('AAC') );
To add or update a name value:
array('AAT') := 'American Assets Trust';
If there is no name (reference) for the "AAT" string, a new name-value is added in the table. If there is already such a reference, its value is updated.
There almost never associative tables in PL/SQL. 99% of the code that I see with the help of associative arrays is bad, because it is used a standard table with sequential numbering as reference of array index.
Associative arrays are useful when receive and process the application name values. An example would be dealing with an allowed web PL/SQL and creating an associative array for the State and the CGI (Common Gateway Interface) variables for the current run.
-
Hello
Since our update of VC 5.0 vc5. 0 U2, the following metrics are not cumulative for past day/week/month/year plus:
Average requests per second of reading virtual drive-
Virtual disk - average writing queries per second
Virtual disk - read latency
Virtual disk - write latency
Stats in real time for these metrics are fine, as well as more historical data before the update.
vCenter is installed on a Windows Server 2008 R2, database VM: Oracle.
I saw this problem on a VC 5.1 improved VC 5.0 with local MS SQL DB.
Have these metrics out of historical performance data at all?
Anyone with similar problems?
Kind regards
Michael
What is the level of the collection on? If 1, try 2 or 3 and check?
-
Need help to understand the collection
Hi all
I'm trying to understand the concept of collection, but when I look in the documentation that exists in google.ca, then, it seems very confusing. If someone suggest me or send me some simple examples and good collection and I really appreciate it. Thanks in advance.
Concerning
Line
Thanks for the explanation, could you please explain what does really to take care of the index as a whole and clause varchar2 and if yes then what condition we use varchar2 index and in which condition we use index as a whole, be we just use index by integer in our daily practice. Really appreciate your response. Thank you
Generally if you use collections, especially PL/SQL-only collections, your architecture is probably wrong. Collections are rarely necessary, but are often USED in the mistaken belief that they will help performance.
The use of the collections usually DEGRADES performance, sometimes severely, and they are often used in a way that is not scalable. You should avoid using collections if possible.
So don't use the collections AT ALL in your 'common practice '.
For the rare cases where there is to use an array associative index type to use depends on the data type of the element that you will use for the index. If you plan to use a string, then you use INDEX OF VARCHAR2. If you plan to use an integer, then you use INDEX BY PLS_INTEGER.
What type of index to use has NOTHING to do with performance.
One of the WORST mistakes developers make is to use an associative array as target of a BULK COLLECT INTO instead of using a TABLE IMBRIQUEE. Collection in bulk is more often used in a FORALL statement so that the elements are accessible only in the order. Useds "indexed" access with associative arrays isn't even necessary or used.
-
We use the OTS to our UCM 11.1.1.4 implementation with only metadata for indexing.
We added a few new metadata and ran Collection rebuild (fast regeneration).
While he was in a State of cleaning at the end of reconstruction, our system DB files containing data files became complete.
This caused our Collection rebuild (fast regeneration) due to cleaning, State = Interrupted =
Content Server records showed the error:
An error occurred while indexing. Cannot run the query"UallIndexerState(UPDATE/*+ INDEX (Revisions dIndexerState_Revisions) * / revisions)
SET dIndexerState = "
WHERE dIndexerState = ' ')'. ORA-01013: user has requested the cancellation of the current operation
java.sql.SQLTimeoutException: ORA-01013: user has requested cancellation of the pending operation. [Details]
wwScsLogDetails_Info
! csIndexerError! csDbUnableToExecuteQuery, UallIndexerState(UPDATE/*+ INDEX (Revisions dIndexerState_Revisions) * / revisions < br > SET dIndexerState = "< br > WHERE dIndexerState = ' ')! $ORA - 01013: user has requested the cancellation of the current < br > operation! syJavaExceptionWrapper, java.sql.SQLTimeoutException: ORA-01013: user has requested the cancellation of the ongoing operation < br >
intradoc.data.DataException:! csDbUnableToExecuteQuery, UallIndexerState(UPDATE/*+ INDEX (Revisions dIndexerState_Revisions) * / revisions)
SET dIndexerState = "
WHERE dIndexerState = ' ')! $ORA - 01013: user has requested the cancellation of the current operation
Our DBAs extended then the data files, and we tried to restart again the Collection rebuild (fast regeneration).
Somehow, he began where he had ended. Yet once, it failed with the same error as above.
Then we restarted our servers of the University Complutense of MADRID and he was always at the State cleanup, State = Interrupted = poster
We again tried to run the rebuilding (Rebuild fast) pieces and this time it crashed almost immediately with the following error: index 20:07:03.111reconstruction work systemdatabase/6 08.11 batch datasource request added at index 0: IidcTextots1
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.jdbc.JdbcWorkspace.addBatch(JdbcWorkspace.java:412)
indexer/6 08.11 20:07:03.111 index reconstruction work cannot add commands: intradoc.data.DataException:! csQueryNotFound, IidcTextots1
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.OracleTextHandler.batchExecution(OracleTextHandler.java:480)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.OracleTextHandler.updateDocuments(OracleTextHandler.java:429)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.OracleTextHandler.executeIndexer(OracleTextHandler.java:250)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.IndexerExecution.executeIndexer(IndexerExecution.java:597)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.IndexerDriverAdaptor.executeIndexer(IndexerDriverAdaptor.java:144)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.DocIndexerAdaptor.indexList(DocIndexerAdaptor.java:209)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.DocIndexerAdaptor.finishIndexing(DocIndexerAdaptor.java:131)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.DocIndexerAdaptor.indexDocument(DocIndexerAdaptor.java:156)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.IndexerBulkLoader.createBulkLoad(IndexerBulkLoader.java:367)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.IndexerBulkLoader.doWork(IndexerBulkLoader.java:171)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.Indexer.doIndexing(Indexer.java:411)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.indexer.Indexer.buildIndex(Indexer.java:319)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1021)
indexer/6 08.11 20:07:03.111 index rebuilt work to intradoc.server.IndexerMonitor$ 4.run(IndexerMonitor.java:842)
Has anyone seen these errors before? Pointers from your experience?Hi David,
(1) will disrupt it my collection research currently active? (My current collection of search works well, the documents are get properly indexed except on the new metadata)
If new content get indexed properly, and then ignore the part of reconstruction of collection.
(2) we look forward to perform the Collection rebuild with the option rebuild quickly. What are the chances of landing in a situation where we can to perform a full rebuild of Collection (we have > 2 M documents and who is consumea a lot of time and resources at the end server; and therefore our worst fears)
Fast reconstruction is really needed when we have new fields of metadata added and need to be searchable.
If this is where the problem happening, might then need some tracing more as an indexer *, systemdatabase with lots of comments for the following steps:
1. Add a new custom metadata
2 update Db configuration manager applet
3. fast reconstruction
4 to record with the new field populated and then perform a search.
Capture the output of the server, then it must be analysed.
Can you post the exact version of AAU where this problem arises and the version of DB? Copy the tag of version under AAU - Administration - Configuration information and posting it here.
ORA-01013: user has requested the cancellation of the ongoing operation - is this still an active issue? If so, my suggestion would be to restart the receiver DB / service to clear all process of dead / guillotine.
Thank you
SrinathPublished by: Srinath Menon on 16 August 2012 13:53
-
Create the collection of query with bind variable
Apex 4.0.2
By Joel the apex_collection.create_collection_from_query_b supports queries containing references to the bind variables (: P1_X) but I don't know how to use this feature, the documentation is not an example, just the API signature for the overloaded version has changed.
If the query contains 2 bind session state variable references (: P1_X and: P1_Y), can someone please show an example of what to spend for the parameters p_names and p_values to the API?
Thank you
procedure create_collection_from_query_b( -- -- Create a named collection from the supplied query using bulk operations. The query will -- be parsed as the application owner. If a collection exists with the same name for the current -- user in the same session for the current Flow ID, an application error will be raised. -- -- This procedure uses bulk dynamic SQL to perform the fetch and insert operations into the named -- collection. Two limitations are imposed by this procedure: -- -- 1) The MD5 checksum for the member data will not be computed -- 2) No column value in query p_query can exceed 2,000 bytes -- -- -- Arguments: -- p_collection_name = Name of collection. Maximum length can be -- 255 bytes. Note that collection_names are case-insensitive, -- as the collection name will be converted to upper case -- p_query = Query to be executed which will populate the members of the -- collection. If p_query is numeric, it is assumed to be -- a DBMS_SQL cursor. -- example(s): -- l_query := 'select make, model, caliber from firearms'; -- apex_collection.create_collection_from_query_b( p_collection_name => 'Firearm', p_query => l_query ); -- p_collection_name in varchar2, p_query in varchar2, p_names in wwv_flow_global.vc_arr2, p_values in wwv_flow_global.vc_arr2, p_max_row_count in number default null) ;
HELEN wrote:
Apex 4.0.2By Joel Re: Collection with variable binding the apex_collection.create_collection_from_query_b supports queries containing references to the bind variables (: P1_X) but I don't know how to use this feature, the documentation is not an example, just the API signature for the overloaded version has changed.
If the query contains 2 bind session state variable references (: P1_X and: P1_Y), can someone please show an example of what to spend for the parameters p_names and p_values to the API?
Not tried, but guess something like
apex_collection.create_collection_from_query_b( p_collection_name => 'foobar' , p_query => 'select f.foo_id, b.bar_id, b.baz from foo f, bar b where f.foo_id = b.foo_id and f.x = to_number(:p1_x) and b.y = :p1_y' , p_names => apex_util.string_to_table('p1_x:p1_y') , p_values => apex_util.string_to_table(v('p1_x') || ':' || v('p1_y')))
-
ON the collection of type of the object does not not with GROUP BY
Hello
I have an object of type with the collection defined as:
When I use simple SQL without no aggregation, the distinct keyword works well and returns me the separate entry of my type of object in the collection:create or replace type individu_ot as object ( numero_dossier number(10), code_utilisateur varchar2(8 char), nom varchar2(25 char), prenom varchar2(25 char), map member function individu_map return number ) / create or replace type body individu_ot is map member function individu_map return number is begin return SELF.numero_dossier; end individu_map; end; / create or replace type individu_ntt is table of individu_ot /
However in SQL with a wide range in group by, the separate no longer works.SQL> select cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list from site_section_cours sisc inner join enseignant_section_mc ensemc on sisc.code_session = ensemc.code_session and sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours inner join individu_mc indivmc on ensemc.numero_dossier_pidm = indivmc.numero_dossier where sisc.seq_site_cours = 6 DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé)) 1 row selected.
There are cases where I need to return collections with more than one, separate entries in it.SQL> select * from ( select sisc.seq_site_cours, cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list from site_section_cours sisc inner join enseignant_section_mc ensemc on sisc.code_session = ensemc.code_session and sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours inner join individu_mc indivmc on ensemc.numero_dossier_pidm = indivmc.numero_dossier group by sisc.seq_site_cours ) where seq_site_cours = 6 SEQ_SITE_COURS DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM) -------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 6 INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé)) 1 row selected.
Is there something that I am missing?
Thank you
BrunoNot a bug, rather an undocumented feature.
Here are some alternatives that you can test:
(1) using the operator SET to eliminate duplicates:
SELECT sisc.seq_site_cours, set( cast( collect(individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt ) ) as distinct_list FROM site_section_cours sisc INNER JOIN enseignant_section_mc ensemc ON sisc.code_session = ensemc.code_session AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours INNER JOIN individu_mc indivmc ON ensemc.numero_dossier_pidm = indivmc.numero_dossier GROUP BY sisc.seq_site_cours ;
(2) using the MULTISET with a subquery
SELECT sisc.seq_site_cours, CAST( MULTISET( SELECT distinct indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom FROM enseignant_section_mc ensemc INNER JOIN individu_mc indivmc ON ensemc.numero_dossier_pidm = indivmc.numero_dossier WHERE sisc.code_session = ensemc.code_session AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours ) AS individu_ntt ) AS distinct_list FROM site_section_cours sisc ;
-
From the Collections with DML operations in function
Hi all
Can we use the collections and perform DML operations on it in a function? I want to call this function through the SELECT statement.
If it's possible, so which collection is ideal in the following scenario?
Need to have three columns and several lines and want to run select on it.
Thanks in advance.If I'm not demanding too much can we have given in this way?
You are most welcome ;)
SQL> with t as ( 2 select '11AA101' str from dual union 3 select '11AA102' str from dual union 4 select '11AA103' str from dual union 5 select '11AA108' str from dual union 6 select '11AA110' str from dual union 7 select '555101' str from dual union 8 select '555102' str from dual union 9 select '555103' str from dual 10 ) 11 select rtrim(extract(xmlagg(xmlelement("a",range||',') order by range) 12 ,'//text()'),',') ranges from ( 13 select decode(min(connect_by_root str),str,str, 14 min(connect_by_root str)||' to '||str||' ('||count(0)||')') range 15 from t 16 where connect_by_isleaf = 1 17 connect by substr(str,1,length(str)-3)=prior substr(str,1,length(str)-3) 18 and prior to_number(substr(str,-3))+1 = to_number(substr(str,-3)) 19 group by str 20 ); RANGES ------------------------------------------------------------------------------------------ 11AA101 to 11AA103 (3),11AA108,11AA110,555101 to 555103 (3)
Max
[My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/] -
How to export the collected addresses
I carried on a new machine (win 7). I have properly exported and imported my address book that contains only 7 entries in my opinion.
It is now only that I realize that Thunderbird uses the addresses of his "collected addresses" for a long time to suggest the person in the address bar, and that all of these hundreds of addresses are not registered in my address book.
How can I get access to my (what must be hundreds of) "collected addresses" and get them on my new machine?Thank you
Opens the address book, then select Tools-Export. Select the collected book to export.
http://KB.mozillazine.org/Moving_address_books_between_profiles -
(1) under address book, used for the book of MAC OS X, as well as the collected addresses and a third list, I can't remember.
Now it lists only MAC OS address book."(2) if I click on"Always allow remote content"it won't let me click on 'OK', I think that it says in the top left corner" adds: "but gives me an empty list.
Thank you!
If I'm more mac savy you we're in trouble. The last Mac I used has a black and white screen and used the floppy 3 1/2 "
See Troubleshooting in the Thunderbird Help menu, and then click the display folder of your profile (Thunderbird knows where he is, even if I'm not) the History.mab file is your collected addresses.
-
Unable to see the Collections in remote desktop Services in Server Manager
It doesn't seem to be a category for Windows Server for some reason, so I apologize if this is in the wrong category:
We recently had an administrator leave our of the it group, and he was the one who had set up our fund services / remote server. Recently, we wanted to deploy another remote application and found that we were not able to see the "Collections" option in the server in remote desktop services manager. The only option listed is "servers". However to reactivate the account administrator and the server like him gave us all permissions to see the option of Collections and to deploy another remote application.
My question would be, this is a policy of setting Group / somewhere that is limiting the other users of the full access to Office services in Server Manager remotely. I looked everywhere on the server (and google) to see if I could find where this setting is vain. Any suggestions/help would be greatly appreciated.
Thank you!
HedaHello
Server forums are in an another Microsoft Community to it.
This community is mainly for users.
Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer
See you soon.
-
Win2012 Server. Y at - it a shortcut to reach the Collections to the remote desktop Services without going through the Server Manager?
Hello
Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer
See you soon.
-
For example, I go through a foreach loop and draw two points. How to distinguish this set of plots of the yet to come? How can I change the style, color and have separate lines (instead of on the line connecting everything) for each of my plots? I don't know how to set everything up, but it still does what he wants to do. TIA.
Hello
The problem you see occurs because of the following lines of code:
The _data and _data2 scatterPlot3 value
_data = scatterPlot3
_data2 = scatterPlot3
When you do this, you define _data as _data2 to reference an object of the simple concession - scatterPlot3. Yes, even if you have (from the code you have posted at least) three slots in your collection, they are all pointing to the same object of point cloud. So when you change the color for one, it changes the color for them all. However, I think that you have fallen on the right solution in your last sentence. If you want to have multiple locations on your ScatterGraph, each with its own color and style, they should each be separate and unique plots in the collection plot of your ScatterGraph. Based on the code you posted, you'll see this if you comment just the two lines shown above.
Please let me know if something is still uncertain.
NickB
National Instruments
-
Anyone has an idea how to manually remove items that do not appear in the Collection, but take place on the device. Specifically, an audio book downloaded via Overdrive?
Hello
1. what type of files are in the audio book? Could you provide me with the file extensions?If you delete the information or files audio books could not show some information. I wouldn't recommend allows you to delete the files. If you want to remove them, you can contact overdrive support.
Hope this information helps.Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
Maybe you are looking for
-
Display anything in firefox correctly except in fullscreen
I started my computer today and a norton window pops up informing me that he had a new version of the product. I went with her and being up-to-date. Then I opened firefox to browse the web, but instead of my home page, I got a glitched by window. Rat
-
Help for Kodak camera driver download
Original title: Driver Download I lost my software for my Kodak digtal camera and it was uninstalled quite some time. My computer does not recognize my camera or a memory card. I went to download the driver, and what I got was a "pilot Device Manag
-
Impossible to install Windows Server 2008 KB2761494
Hello I have a problem to update KB2761494 on our SBS 2008. error code is 800f0818. tried to clean boot. I also have a problem, I think it's connected somehow, the role service does not work. Unexpected error refreshing Server Manager: Exception from
-
This security update keeps saying he wants to install, whenever I start my PC running Vista, any ideas?
-
Just downloaded 3 alpha - initilised all my certificates and tokens but when I deploy one of the example my playbook on wiifi (hellocascades) I get this error Failure of deployment: Info: request shipment: install and launchInfo: Action: install and