|
[Sponsors] |
January 3, 2014, 09:45 |
Changing the legend sizes
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Hi again,
whay can't change the Legend size? it can't be seen in article where the image have to be in one of 2 columns in Word. in paraView it seems there is no way to increase the legend size. one has reported this issue here: http://www.paraview.org/pipermail/pa...ch/024228.html is there a way to resolve it?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
January 4, 2014, 19:29 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
Quoting myself from http://www.cfd-online.com/Forums/ope...tml#post451931 post #58: Quote:
Best regards, Bruno
__________________
|
||
January 5, 2014, 04:54 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Hi Bruno,
those posts were related to color legend,I mean the legend in plots that is a text box.not in the field of variables that are shown by color legend. thanks.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
January 5, 2014, 07:57 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
Sorry, I can't figure out which ones you're referring to Can you please post a snapshot of what you're referring to? You don't need to post the complete image of ParaView, seeing only the 2D or 3D view should be enough. Best regards, Bruno
__________________
|
|
January 30, 2014, 12:57 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
isn't there a way to increase dimension of legends in a plot data from VTK files?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
January 30, 2014, 18:52 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Hi dear Bruno,
sorry a lot,I wanted to do that but don't know what happened and I forgot to add an attachment. I mean the text related to each figure that lay in a box like the attached file. when I paste it to Word,it becomes too small that's hard to see.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
February 1, 2014, 16:51 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
I've spent the past hour or so trying to figure out if there was any way to get access via Python to the legend controls. Currently, there is no possibility in ParaView 3.12.0 to 4.0.1 to change the font size on the legend. It's only possible to change visibility and location. Unfortunately I could not find any way to access the method "GetChart()" that is in the class "vtkXYChartRepresentation", simply because there is no Python based proxy to that method and it doesn't look like there is any easy way to access it. For future reference, I tried running the following commands, when the plot entry is selected on the "Pipeline Browser" and the chart display is selected in the view window: Code:
dataview = GetActiveView() chart = GetRepresentation() Code:
dataview.ShowLegend dataview.LegendLocation The way I can see it, it would require modifying the ParaView source code, namely in the following files: Code:
ParaViewCore/ClientServerCore/vtkPVXYChartView.* ParaViewCore/ServerImplementation/Resources/views_and_representations.xml I'm going to go have a look into ParaView 4.1.0, to check if this feature exists on this latest version. edit: I've finished checking and it does not have any new legend controls Best regards, Bruno Last edited by wyldckat; February 1, 2014 at 17:06. Reason: see "edit:" |
|
February 1, 2014, 17:24 |
|
#9 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
thanks for your efforts dear Bruno, I found a simple trick,I change the figure to a small size,a size around the width of a A4 paper and because legend size is fixed, it changes to a rational size respect to other parts of the figure and everything turns fine only the distance between plots(when draw some of plots in one figure) become less than before,but its not bad,because the results seems coincide together and they will say what a good validation has done I'm kidding you,the validation is OK itself
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
loading issue libraries:libsimpleFunctionObjects.so libsimpleSwakFunctionObjects.so | immortality | OpenFOAM Pre-Processing | 15 | April 7, 2024 12:35 |
CFD post cannot load results-Error appeared? | mariam.sara | ANSYS | 9 | September 17, 2018 15:23 |
[PyFoam] Problems with the new PyFoam release | zfaraday | OpenFOAM Community Contributions | 13 | December 9, 2014 18:58 |
[PyFoam] having problems with pyfoam Installation | vitorspadetoventurin | OpenFOAM Community Contributions | 3 | December 2, 2014 07:18 |
changing legend in FLUENT | ak6g08 | FLUENT | 3 | February 10, 2010 12:26 |