Get relative shape location in visio - visio

I am generating a shape report to list x,y locations of all my shapes.
The report includes "Display Text", "X location" and "Y location".
The "X location" and "Y location" are equivalent to the PinX and PinY properties in the shape sheet. However these does not reflect the page grid, and do not refer to an origin (0,0), so the coordinates are all offset with some value.
I would like all coordinates to refer to the left lower corner of a specific rectangle, that surrounds my reported shapes.

Please check that all shapes have rotate point in center of shape (by default), not in bottom-left corner of shape!
PinX/PinY values you can see in Size & Position Window
In bottom of this window you can find field named Pin Pos.
This field corresponds to a combination of a pair of values in cells LocPinX & LocPinY. This is what caused the offset !

Related

Shift key + mouse left button is not lowering the terrain. how to lower the terrain?

I want to make the ground in this place of the terrain a bit deeper a bit lower but left shift key or right shift key and the left mouse button does not change anything on the terrain.
I've been looking for an answer for hours, and I finally found it.
If you are trying to lower a piece of land that is already at 0 height, you will not be able.
You can only lower areas that are above to height 0. In short, height 0 is the minimum: you cannot go to snow values ​​due to the way the terrain is created.
To be able to make valleys then you have to select the tool "Set Height", enter a height and raise all the ground to that height with "Flatten All", or small pieces of land by dragging the mouse on the ground.
If you click "Flatten All", all the terrain will be brought to that height, losing all the changes made previously for the mountains.
However, if you have already made land and you don't want to lose it and redo it from scratch, you can use the following solution:
Export the current heightmap;
Open the image in an editor; (I'm not an expert in Photoshop or other
graphics programs, but I'm sure Photoshop has a way. If there isn't
an entry in the program, find out how to use scripts in photoshop)
Find a way to set the pixels according to a formula: maximum depth of
valleys + current value of the grayscale pixel * original height /
(original height + maximum depth of valleys);
Export the image in Raw format;
Go back to Unity and import it on the ground as you read in the link
above;
In the terrain settings set the height equal to the value you used
in the formula called "original height" + the “maximum depth of
valleys” value;
You should now have the ground as before, but higher. Set the value
in the transform of the Y position equal to "-maximum depth of
valleys" so that it is at the same height as before.
You should now be able to create valleys!
I haven't tried the process, but I've thought about it so much I'm pretty sure it will work.
Good work!

Meshlab increase point size

How can I increase the point size in Meshlab for point clouds? I found how I can show / hide specific PCs, but I do not see where to change their display properties : size, color, symbol ...
If you are using Meshlab 1.3, you have to do 3 steps:
View->Show Layers Dialog to enable the panel at the right.
Render->Show Vertex Dots, to show the vertices as small circles.
There is a Dot size field in the Layer Dialog that let you change the size of the circles.
If you are using Meshlab-2016 or later, it is even easier...
Click on the tab of vertex and choose the option Dot Decorator (1)
Change the size of dots with the Point Size Bar (2)
In MeshLab, you can just use Alt + mouse wheel to control point size.
Or you can find the point size setting in:
Tools->Options->MeshLab::Appearance::pointSize.

How can I put different colors for the different elements of a single dimension

How can I set different colors for the different elements of a single dimension with Tableau Desktop?
I want the colors in fields of dimension and not like the picture.
Thank you
You can drag that same dimension on the Color mark in the Marks area, which by default is displayed below filters, right to the Data area.
To change the colors that Tableau assigns by default you can click on the Color mark and use "Select Colors": it will open a window where you can select the color you want for each value of the dimension you're using.
Edit
Unfortunately you cannot color the background of a dimension axis. You can achieve the same result with a trick though:
Drag the dimension to rows
Double-click in columns and write MIN(1)
From the marks dropdown, make sure Bar is selected
Drag the dimension to the Color mark
Drag the dimension to the Label mark
From the Label mark, set the horizontal alignment to either left or center
From the Label mark, mark the flag to allow labels to overlap other marks
From the Size mark, crank the size all the way up
Right-click on the dimension from the rows area and unselect Show Header
Right click on the MIN(1) axis below the graph, click Edit Axis, select Fixed among the Range options and fix start and end to 0 and 1 respectively
Right click on the MIN(1) from the columns area and unselect Show Header
Of course adjustments can be made to better suit your needs, but this should give you an idea of the whole process.

how to change the position of the output result in GUI

Does any one here have an idea about how to change the position of output in the GUI matlab to be to the right side of the box and not in the center ?
i think I have to change some properties of the result text box
Check this post out: Positioning of figures
The figure Position property controls the size and location of the figure window on the screen. Monitor screen size is a property of the root Handle Graphics object. At startup, the MATLAB software determines the size of your computer screen and defines a default value for Position. This default creates figures about one-quarter of the screen's minimum extent and places them centered left to right, in the top half of the screen.
The Position Vector
MATLAB defines the figure Position property as a vector. So you may use a figure and text into it, e.g.
figure(gcf)
text(offsetX1, offsetX1, ['result 1: ' num2str(result1)])
text(offsetX2, offsetX2, ['result 2: ' num2str(result2)])
Displaying analytical results in a MATLAB GUI
This post talks about adding a static textbox with your results and positioning it.
Move GUI figure to specified location on screen:
Syntax:
movegui(h,'position')
movegui(position)
movegui(h)
movegui
The answer is pretty much trying to cover up the vauge nature of the question

plotsymbol label

I'm playing with core-plot to generate a scatter plot. I've added a plot symbol and want to add a label near every symbol.
I able to do that but want to change the position of this label. I can set the offset but it move the label only vertically, I need to move the label horizontally.
Any way to do that?
this picture shows what i'd like.
screen shot
Thanks
The automatic labels will always appear above the point. You can create annotations to label your data points. For each label, use CPTPlotSpaceAnnotation, anchor it to the coordinates of the data point, and set the displacement and content anchor.
To put the labels to the right of the point, set the displacement to (x, 0) where x is the number of pixels between the label and the center of the data point. Set the content anchor to (0, 0.5).