Is there a way to copy Legend from one diagram to another? - enterprise-architect

I have some common legend to be followed across project for all diagrams.
I see no way to copy the Legend from one EA diagram to another.
is there a way out for this ?

I had no issue using Ctrl-C while the legend is selected and using Ctrl-V in the target diagram.

Related

Copy the plots in the NetLogo interface tab

Is there a way to copy plots in NetLogo? I need a relatively large number of plots in the interface tab that have similar code. Creating and adjusting these plots will take time. Is it possible to copy the plots in the interface tab?
Is there a way to copy plots in NetLogo?
Not from within the graphical interface, but you can copy plots and pens by opening your model's nlogo file in a normal text editor. Here are the docs for the format, and here is the section on plot widgets in particular. Here is an example plot as defined in the Wolf Sheep Predation model.
You can just copy/paste an existing plot widget in this way, or even the PENS, each is on their own line. I recommend being very careful if you do this - making sure you maintain blank spaces between widgets, the escape slashes \" for double-quotes in code, and the exact format of the PLOT sections. I'd take regular back-ups of your file and test your changes frequently as you work in case an edit goes wrong.

Foundry-Workshop - Charts with multiple layers

I would like to know what are the settings capabilities on workshop charts when implementing multiple layers.
Here is an example of a chart with 2 layers (3 objects):
Among the global settings options, I would like to know:
how to have only one legend per group, instead of one per layer?
how to manage colors? Is it possible to change default?
is there any way to display dotted lines for example?
Thanks in advance
how to have only one legend per group, instead of one per layer?
Currently all the legend "flattens" all the series across all the Plot Layers and there isn't any way to change the grouping. If you really wanted to, you could use a couple metric widgets in List or Tag mode and build your own legend alongside the chart, assuming you'd made overrides for all the potential series and series segments (see below).
how to manage colors? Is it possible to change default?
Yes, you can change the color for each series on the chart. If the series has no "Segement By" config, then you can choose the color directly. If you choose to segment by some other property, then you need to add a Segment Display Override for each segment value that you want to change.
is there any way to display dotted lines for example?
You can change the style from solid to dashed in the same place that you can change the color

What does box shading mean in Enterprise Architect?

I have imported MySQL database into EA and found that some tables depicted as dimmed rectangles and another ones -- as shaded rectangles:
The majority is dimmed.
What does it mean and how to change?
Looks like either a diagram filter or a visual filter. Switch it off and you should be fine.

RACI (Resposible,Accountable,Consulted,Informed) matrix

How Can create RACI (Resposible,Accountable,Consulted,Informed) matrix in Sparx Enterprise Architect? In visual Paradigm, RACI chart can be created easily, based on lanes and associated activities within them
The image below shows one possible way to do this.
I selected diagram type 'Custom' but I expect you could use many other diagram types if you prefer. I right-clicked on the diagram, selected 'Swim Lanes, Matrix, and Kanban' from the context menu, then used the 'Matrix' option to build the diagram.

Matlab GUI, create two tabs

I want to create two tabs within one GUI. One can show the plot of sine function, the other shows cone function. I can handle these two functions. but i do not know how to create two tabs. Thanks a lot!
If by tabs you mean 'plotting area' then you likely need to create 2 axes objects and display each plot in its own axes. In GUIDE it's very easy...more info here.
Let's say you have axes1 and axes2, you can do this:
axes(axes1) % Make axes1 the current axes.
plot(sin(...))
axes(axes2) % Make axes2 the current axes
plot(...)
and that's it. Hope this is what you mean! If not sorry I misunderstood the question.
EDIT
I thought about it and I'm probably wrong about what I thought a tab is. Matlab does not allow to do it directly, although it might be possible with the GUI Layout Toolbox. Here is a submission from the FIle Exchange which could be interesting to you: link here!. Sorry abut the confusion.
uitab() can be used for creating tabs. If you want to create tabs using guide it's currently not natively supported but possible with a work around I described here.