08-04-2009 06:25 PM
I'm using version 11.1. I noticed when transferring a contour plot in VIEW to the REPORT the x and y labels and ticks do not transfer. Also, the transferred legend is incorrect when the setting in VIEW is curve parameters -> Surface -> display mode = colors from contour table and that contour table has more than 8 values. The legend is correct in VIEW.
There doesn't seem to be a way to fix the incorrect legend in the REPORT. Also, if i try to make the same plot either as a 3-d surface or a characteristic diagram from scratch in the REPORT, I notice it ignores anything in the color palette passed about 8 entries. So it seems like the only color palette schemes that work in the REPORT and have more than 8 colors is one of the three "glob palette" that are available in the menu. I'm trying to make a plot with a custom 64 color palette that has the same colors to a palette matlab refers to as "hot".
thanks.
08-05-2009 08:11 AM
Hi PRinOR,
Would you please post a sample data set, your VIEW layout (*.TDV) file, and the resulting unsatisfactory REPORT layout (*.TDR) file that precludes axis label changes? That will make this easier to figure out.
The custom-defined palette of color sequences in REPORT has up to 15 different levels/colors, so I'm mysitfied why you're running into a limitation of 8 levels/colors.
Brad Turpin
DIAdem Product Support Egineer
National Instruments
08-05-2009 12:23 PM
Brad,
I started with a new layout and now I can't duplicate the transfer problem. Unfortunately I did not save the layout where I was having a problem. If I encounter this again I will follow-up.
On the 8 color thing, I attached files to demonstrate the problem. The view layout shows the contour plot with a custom 64 color palette. This view is then transferred to the report layout, which works fine now. On another report sheet i try to recreate this same plot. It will display 15 colors unitil I turn the isolines off, at which point it displays 7 colors. By simply turning the isolines on/off you can duplicate this. Please let me know if this is a bug, or if there is a setting I'm missing.
Of course, it would be nice if I could make custom 64 color palettes in the report, but i can live with doing it in VIEW and then transferring it.
thanks,
PRinOR
08-05-2009 01:08 PM
Brad,
Following up. I am now able to duplicate the color legend error within the report. It seems to be related to the presence of an additional curve on the same plot rather than a VIEW-report transfer problem. Attached is the demonstration files. Let me know what you think.
-PRinOR
08-11-2009 05:35 PM
Just following up. I'd like to make sure this color legend bug in 11.1 gets reported.
Yes, the limit for the color pallete when making a contour plot in the REPORT is 15 colors. But when making a contour plot in VIEW 64 colors (or more) can be used. This plot can then be transffered over to the report, no problem. The legend even displays all the colors correctly. The exception is if there is another isoline present on the same plot in VIEW, or if one tries to add an isoline, 3-d line, or points to this same plot within REPORT. When this happens the plot still looks exactly the same (with more than 15 colors shown), but the legend only shows the first 8 colors or so from the pallette, and the values for those colors are wrong. So the point is the color legend is incorrect compared to the plot.
The work around is just to ovelay another plot axis on top of the contour plot in the report in order to make the appearance that curves or points are on the same contour plot. Which is acceptable. But, again, I just want to make sure NI is aware of this color legend bug.
thanks,
-PRinOR
08-11-2009 11:08 PM
Hi PRinOR,
I was able to reproduce your issue and passed along the request to DIAdem R&D to look into it. I expected to hear back very quickly, but it's been a few days now. So know that this is in the works, and hopefully I'll have more information for you soon.
If you don't hear anything on this forum in a couple weeks, please post a reminder for me 🙂
Brad Turpin
DIAdem Product Support Engineer
National Instruments
08-12-2009 07:00 AM
Hi PRinOR,
I heard back from R&D this morning. They found and fixed the bug you reported in the DIAdem 2010 source code, so this bug will be gone the next time we release DIAdem. It turned out to be a problem in REPORT and had nothing to do with the VIEW transfer or the palette colors.
By the way, I also recently discovered that the user defined color palette in REPORT is no longer limited to 15 colors in DIAdem 11.1, it's limited to 250 colors, just like in VIEW. R&D says this restriction lifted several versions ago.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
08-12-2009 01:23 PM
Thanks Brad.
I stand corrected about the 15 color pallete limit in report as well. I just figured out to get more colors when building the plot in the Report.
As I mentioned in my last post, the work around (until the next version release) to displaying both a contour plot with a lot of colors and another curve together is just to overlay another plot axis on top of the contour plot axis. I actually got the idea to do this from an urelated post..cant remember where but it is a great idea!
-PRinOR